[uClibc-cvs] cvs commit to uClibc/libc/stdio by mjn3
cvs at uclinux.org
cvs at uclinux.org
Sat Jul 28 14:51:46 UTC 2001
Repository: uClibc/libc/stdio
who: mjn3
time: Sat Jul 28 10:51:45 EDT 2001
Log Message:
Back out the changes to _uClibc_fread and loop in fread() if incomplete, to
avoid problems with fgets on tty streams. I actually did some testing this
time. ;-)
Note: there is a difference in behavior between glibc and uClibc here
regarding fread() on a tty stream. glibc's fread() seems to return after
reading all _available_ data even if not at end-of-file, while uClibc's
fread() continues reading until all requested or eof or error. The latter
behavior seems correct w.r.t. the standards.
Files:
changed: stdio.c
More information about the uClibc-cvs
mailing list