Cosmetique fixes from bde

This commit is contained in:
Andrey A. Chernov 2001-08-26 10:38:29 +00:00
parent fcbe9614ef
commit b0eeb07b5b

View File

@ -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);