diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2001-07-28 14:51:45 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2001-07-28 14:51:45 +0000 |
commit | b52f66dea69ecc8e8b7d1b89226438f9ce260fb7 (patch) | |
tree | fbfcf9ee76256bf13a81d7ede907ba5b2e2835af /libc/stdlib/malloc-930716/malloc.c | |
parent | 2940feb06f1a92841121b223063b123c3fae11a0 (diff) |
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.
Diffstat (limited to 'libc/stdlib/malloc-930716/malloc.c')
0 files changed, 0 insertions, 0 deletions