Date: Fri, 7 Sep 2001 10:16:03 -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 stdio.c Message-ID: <200109071716.f87HG3a05025@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
ache 2001/09/07 10:16:03 PDT
Modified files:
lib/libc/stdio stdio.c
Log:
1) If __SAPP stream is not seekable, remove __SAPP flag on first call instead
of repeating unsuccessful lseek call on each write (original stdio bug).
2) Save errno accross _sseek call in _swrite to not touch it in case write
success (original stdio bug).
3) Add _sseek error checking back, but only for __SOPT mode now.
Revision Changes Path
1.18 +11 -4 src/lib/libc/stdio/stdio.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?200109071716.f87HG3a05025>
