Date: Fri, 31 Aug 2001 12:50:25 -0700 (PDT) From: "Andrey A. Chernov" <ache@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio ftell.c ungetc.c Message-ID: <200108311950.f7VJoPd48683@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2001/08/31 12:50:25 PDT
Modified files:
lib/libc/stdio ftell.c ungetc.c
Log:
Disallow ungetc at offset 0 (to prevent negative offset happens), so simplify
checks in ftell.
Revision Changes Path
1.18 +12 -23 src/lib/libc/stdio/ftell.c
1.10 +5 -1 src/lib/libc/stdio/ungetc.c
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?200108311950.f7VJoPd48683>
