Date: Sat, 1 Sep 2001 06:01:52 +0400 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: "Peter S. Housel" <housel@acm.org> Cc: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/lib/libc/stdio ftell.c ungetc.c Message-ID: <20010901060150.A29233@nagual.pp.ru> In-Reply-To: <014301c1327e$58c10f40$be16010a@nb.mindspeed.com> References: <200108311950.f7VJoPd48683@freefall.freebsd.org> <mu9n14g2bq8.wl@cx281057-a.irvn1.occa.home.com> <20010901010738.B21988@nagual.pp.ru> <20010901024748.A23318@nagual.pp.ru> <200108312327.f7VNRMs83151@khavrinen.lcs.mit.edu> <20010901033723.B24264@nagual.pp.ru> <014301c1327e$58c10f40$be16010a@nb.mindspeed.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 31, 2001 at 17:37:57 -0700, Peter S. Housel wrote: > ftell() may well return an error value, not work, etc. after doing so. But > that doesn't imply that you shouldn't be allowed to do at least one ungetc() > at position zero. I just back out disabling ungetc() at 0 and use different way: 0 as 'unspecified value' (instead of < 0 as 'unspecified value' as in original variant). -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010901060150.A29233>