Date: Fri, 31 Aug 2001 18:56:55 -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 fseek.c ftell.c local.h ungetc.3 ungetc.c Message-ID: <200109010156.f811utq90118@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2001/08/31 18:56:55 PDT Modified files: lib/libc/stdio fseek.c ftell.c local.h ungetc.3 ungetc.c Log: Back out disabling ungetc() at 0, use different solution: keep negative offset internally, but return 0 externally in ftell*() I.e. use 0 now as 'unspecified value' per POSIX ungetc() description. Revision Changes Path 1.25 +20 -11 src/lib/libc/stdio/fseek.c 1.21 +27 -15 src/lib/libc/stdio/ftell.c 1.8 +3 -3 src/lib/libc/stdio/local.h 1.10 +2 -5 src/lib/libc/stdio/ungetc.3 1.11 +1 -5 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?200109010156.f811utq90118>