diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-08-26 10:38:29 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-08-26 10:38:29 +0000 |
| commit | b0eeb07b5be2a735894eab73e81a9332239e7e6c (patch) | |
| tree | 7bf33378e8da15692046ef3870568fc1c408ae6d /lib/libc | |
| parent | fcbe9614efd3bbf67477b59f2e7680f5f170b1ef (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/stdio/fseek.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libc/stdio/fseek.c b/lib/libc/stdio/fseek.c index a04a6284423b..f28006396eaa 100644 --- a/lib/libc/stdio/fseek.c +++ b/lib/libc/stdio/fseek.c @@ -143,7 +143,6 @@ _fseeko(fp, offset, whence, ltest) } else if (fp->_flags & __SWR && fp->_p != NULL) curoff += fp->_p - fp->_bf._base; - /* 'curoff' is always >= 0 */ if (offset > 0 && curoff > OFF_MAX - offset) { errno = EOVERFLOW; return (EOF); @@ -210,7 +209,6 @@ _fseeko(fp, offset, whence, ltest) else { if (_fstat(fp->_file, &st)) goto dumb; - /* 'st.st_size' is always >= 0 */ if (offset > 0 && st.st_size > OFF_MAX - offset) { errno = EOVERFLOW; return (EOF); |
