From owner-cvs-all Fri Sep 7 10:16: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 5704337B403; Fri, 7 Sep 2001 10:16:03 -0700 (PDT) Received: (from ache@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f87HG3a05025; Fri, 7 Sep 2001 10:16:03 -0700 (PDT) (envelope-from ache) Message-Id: <200109071716.f87HG3a05025@freefall.freebsd.org> From: "Andrey A. Chernov" Date: Fri, 7 Sep 2001 10:16:03 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/stdio stdio.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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