summaryrefslogtreecommitdiff
path: root/libc/inet/getaddrinfo.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-08-06 05:27:13 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-08-06 05:27:13 +0000
commit14c2c51eca3bd5028da6c16c26659c583432eaad (patch)
treed8c9c211ebc4b579b9e4d9d8e748a1f07fbae012 /libc/inet/getaddrinfo.c
parent64f78ef63be0e51e894ffd096de35c8a8f2ab034 (diff)
Changed fflush() behavior to no-op for r/w streams in read-mode.
This falls under undefined behavior wrt ANSI/ISO C99, but SUSv3 seems to treat it as a no-op and it occurs in some apps. Fixed a problem with _stdio_fwrite() not checking for underlying write() failures. Fixed both _stdio_fwrite() and _stdio_fread() to make sure that the putc and getc macros were disabled if the stream was in and error state. The above changes should take care of a problem initially reported by "Steven J. Hill" <sjhill@realitydiluted.com>.
Diffstat (limited to 'libc/inet/getaddrinfo.c')
0 files changed, 0 insertions, 0 deletions