summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2001-07-28 14:51:45 +0000
committerManuel Novoa III <mjn3@codepoet.org>2001-07-28 14:51:45 +0000
commitb52f66dea69ecc8e8b7d1b89226438f9ce260fb7 (patch)
treefbfcf9ee76256bf13a81d7ede907ba5b2e2835af /libc/sysdeps/linux/sh
parent2940feb06f1a92841121b223063b123c3fae11a0 (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/sysdeps/linux/sh')
0 files changed, 0 insertions, 0 deletions