OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75f21a1
)
Yes... the previous "fix" was broken too... the result of careless cutting
author
Manuel Novoa III
<mjn3@codepoet.org>
Thu, 26 Jul 2001 02:52:53 +0000
(
02:52
-0000)
committer
Manuel Novoa III
<mjn3@codepoet.org>
Thu, 26 Jul 2001 02:52:53 +0000
(
02:52
-0000)
and pasting while pressed for time. I haven't checked this one either. :-(
libc/stdio/stdio.c
patch
|
blob
|
history
diff --git
a/libc/stdio/stdio.c
b/libc/stdio/stdio.c
index
34ee503
..
09a1a55
100644
(file)
--- a/
libc/stdio/stdio.c
+++ b/
libc/stdio/stdio.c
@@
-421,7
+421,7
@@
off_t _uClibc_fread(unsigned char *buf, off_t bytes, FILE *fp)
fp->bufread += _uClibc_fread(fp->bufstart,
fp->bufend - fp->bufstart, fp);
if (fp->bufread - fp->bufstart >= bytes) { /* If we read all */
- fp->mode
|
= ~__MODE_EOF; /* that was requested, make sure */
+ fp->mode
&
= ~__MODE_EOF; /* that was requested, make sure */
} /* EOF flag is clear. */
goto FROM_BUF;
}