[uClibc-cvs] cvs commit to uClibc/libc/stdio by mjn3
mjn3 at uclibc.org
mjn3 at uclibc.org
Tue Aug 6 05:27:14 UTC 2002
Repository: uClibc/libc/stdio
who: mjn3
time: Mon Aug 5 23:27:14 MDT 2002
Log Message:
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 at realitydiluted.com>.
Files:
changed: stdio.c
More information about the uClibc-cvs
mailing list