small fix in ftell
authorceriel <none@none>
Mon, 5 Apr 1993 11:49:59 +0000 (11:49 +0000)
committerceriel <none@none>
Mon, 5 Apr 1993 11:49:59 +0000 (11:49 +0000)
lang/cem/libcc/stdio/ftell.c

index 98ce95c..2375218 100644 (file)
@@ -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);