From: ceriel Date: Mon, 5 Apr 1993 11:49:59 +0000 (+0000) Subject: small fix in ftell X-Git-Tag: release-5-5~327 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=8c66b843054e326585cc6d1a75b382b6b285e510;p=ack.git small fix in ftell --- diff --git a/lang/cem/libcc/stdio/ftell.c b/lang/cem/libcc/stdio/ftell.c index 98ce95c44..237521812 100644 --- a/lang/cem/libcc/stdio/ftell.c +++ b/lang/cem/libcc/stdio/ftell.c @@ -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);