Remove two checks unneeded now (can't happens)
This commit is contained in:
parent
45892fd855
commit
4fd8a4cf24
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82741
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user