small fix in ftell
This commit is contained in:
parent
e30c4b9337
commit
8c66b84305
|
@ -13,8 +13,6 @@ FILE *iop;
|
|||
adjust -= iop->_count;
|
||||
else if ( io_testflag(iop,IO_WRITEMODE) && iop->_buf && !io_testflag(iop,IO_UNBUFF))
|
||||
adjust = iop->_ptr - iop->_buf;
|
||||
else
|
||||
return(-1);
|
||||
|
||||
result = lseek(fileno(iop), 0L, 1);
|
||||
|
||||
|
|
Loading…
Reference in a new issue