Date: Wed, 24 Oct 2001 10:25:49 -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 stdio.c Message-ID: <200110241725.f9OHPn767278@freefall.freebsd.org>
index | next in thread | raw e-mail
ache 2001/10/24 10:25:49 PDT
Modified files:
lib/libc/stdio fseek.c stdio.c
Log:
Help to recover from bad seek (i.e. negative or too big) happens beyond
our pre-check control. Do the same way as refill.c does when it set __SERR,
i.e. clear read and ungetc buffers. Clear EOF flag too.
Revision Changes Path
1.36 +5 -5 src/lib/libc/stdio/fseek.c
1.21 +7 -0 src/lib/libc/stdio/stdio.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110241725.f9OHPn767278>
