summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-08-17 10:06:46 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-08-17 10:06:46 +0000
commit68ce9bfb1019461c9b53b519655b2230aa93b49e (patch)
treea0cf490b19a3da0aa5138a0aa4a3afdb7c53bd91
parent71b5a4326ddbfff4f2f249acea228dc5e642dd62 (diff)
Notes
-rw-r--r--lib/libc/stdio/fseek.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/stdio/fseek.c b/lib/libc/stdio/fseek.c
index e0a1648a550e..8dc36e67d9b1 100644
--- a/lib/libc/stdio/fseek.c
+++ b/lib/libc/stdio/fseek.c
@@ -304,7 +304,6 @@ dumb:
return (EOF);
/* POSIX require long type resulting offset for fseek() */
if (ltest && fp->_offset != (long)fp->_offset) {
- fp->_flags &= ~__SOFF;
errno = EOVERFLOW;
return (EOF);
}