Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 18:26:46 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/lib/libc/stdio stdio.c
Message-ID:  <20011024182645.A75942@nagual.pp.ru>
In-Reply-To: <56612.1003916009@axl.seasidesoftware.co.za>
References:  <200110232248.f9NMm0Y19403@freefall.freebsd.org> <56612.1003916009@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 24, 2001 at 11:33:29 +0200, Sheldon Hearn wrote:
> 
> What problem does this address?  What change in behaviour will
> end-users see?

If sseek happens after reading, fseek/ftell position calculated inside
read buffer can become wrong (!= read offset) producing wrong result to
end user. But we not affected because clear read buffer after each fseek
and use only sseek(0) internally, so this change backed out.

-- 
Andrey A. Chernov
http://ache.pp.ru/

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?20011024182645.A75942>