Cosmetique: correct English in comments

This commit is contained in:
Andrey A. Chernov 2001-08-23 14:49:02 +00:00
parent bbf6984cec
commit f0d5097e06
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82197

View file

@ -143,7 +143,7 @@ _fseeko(fp, offset, whence, ltest)
} else if (fp->_flags & __SWR && fp->_p != NULL) } else if (fp->_flags & __SWR && fp->_p != NULL)
curoff += fp->_p - fp->_bf._base; curoff += fp->_p - fp->_bf._base;
/* curoff always >= 0 */ /* 'curoff' is always >= 0 */
if (offset > 0 && curoff > OFF_MAX - offset) { if (offset > 0 && curoff > OFF_MAX - offset) {
errno = EOVERFLOW; errno = EOVERFLOW;
return (EOF); return (EOF);
@ -210,7 +210,7 @@ _fseeko(fp, offset, whence, ltest)
else { else {
if (_fstat(fp->_file, &st)) if (_fstat(fp->_file, &st))
goto dumb; goto dumb;
/* st.st_size always >= 0 */ /* 'st.st_size' is always >= 0 */
if (offset > 0 && st.st_size > OFF_MAX - offset) { if (offset > 0 && st.st_size > OFF_MAX - offset) {
errno = EOVERFLOW; errno = EOVERFLOW;
return (EOF); return (EOF);