Back out the changes to _uClibc_fread and loop in fread() if incomplete, to
authorManuel Novoa III <mjn3@codepoet.org>
Sat, 28 Jul 2001 14:51:45 +0000 (14:51 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Sat, 28 Jul 2001 14:51:45 +0000 (14:51 -0000)
commitb52f66dea69ecc8e8b7d1b89226438f9ce260fb7
treefbfcf9ee76256bf13a81d7ede907ba5b2e2835af
parent2940feb06f1a92841121b223063b123c3fae11a0
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.
libc/stdio/stdio.c
This page took 0.029523 seconds and 4 git commands to generate.