summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-09-01 14:48:45 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-09-01 14:48:45 +0000
commit4fd8a4cf245e5e473748360983fdbebc346eff41 (patch)
tree1b7cf097765d63fc9208f9d95429ea2024eb62b9
parent45892fd8558219a7cd1530c956263e01c6aa1541 (diff)
Notes
-rw-r--r--lib/libc/stdio/fseek.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/stdio/fseek.c b/lib/libc/stdio/fseek.c
index b2d98a933a94..0e1d4616bce6 100644
--- a/lib/libc/stdio/fseek.c
+++ b/lib/libc/stdio/fseek.c
@@ -236,14 +236,10 @@ _fseeko(fp, offset, whence, ltest)
goto abspos;
curoff += fp->_r; /* kill off ungetc */
n = fp->_extra->_up - fp->_bf._base;
- if (curoff < 0 && -((off_t)n) < OFF_MIN - curoff)
- goto abspos;
curoff -= n;
n += fp->_ur;
} else {
n = fp->_p - fp->_bf._base;
- if (curoff < 0 && -((off_t)n) < OFF_MIN - curoff)
- goto abspos;
curoff -= n;
n += fp->_r;
}