small fix in ftell

This commit is contained in:
ceriel 1993-04-05 11:49:59 +00:00
parent e30c4b9337
commit 8c66b84305

View file

@ -13,8 +13,6 @@ FILE *iop;
adjust -= iop->_count; adjust -= iop->_count;
else if ( io_testflag(iop,IO_WRITEMODE) && iop->_buf && !io_testflag(iop,IO_UNBUFF)) else if ( io_testflag(iop,IO_WRITEMODE) && iop->_buf && !io_testflag(iop,IO_UNBUFF))
adjust = iop->_ptr - iop->_buf; adjust = iop->_ptr - iop->_buf;
else
return(-1);
result = lseek(fileno(iop), 0L, 1); result = lseek(fileno(iop), 0L, 1);