diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-08-13 09:30:41 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-08-13 09:30:41 +0000 |
| commit | e74101e4eff767325553039def89de70b70f36d3 (patch) | |
| tree | b19b15290ce2e0d3c58bac59a2bcb0295e1af757 /lib/libc/stdio/fread.c | |
| parent | 149004e99dc4abe92b530803e963e50943750f40 (diff) | |
Notes
Diffstat (limited to 'lib/libc/stdio/fread.c')
| -rw-r--r-- | lib/libc/stdio/fread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libc/stdio/fread.c b/lib/libc/stdio/fread.c index a437fc721193..39c1a8c36db4 100644 --- a/lib/libc/stdio/fread.c +++ b/lib/libc/stdio/fread.c @@ -66,6 +66,7 @@ fread(buf, size, count, fp) if ((resid = count * size) == 0) return (0); FLOCKFILE(fp); + ORIENT(fp, -1); if (fp->_r < 0) fp->_r = 0; total = resid; |
