Subject: Re: [Fwd: [BUG] BSD libc fseek bug]
To: Pavel Tsekov <ptsekov@syntrex.com>
From: Andrey A. Chernov <ache@nagual.pp.ru>
List: netbsd-bugs
Date: 10/24/2001 02:56:30
On Tue, Oct 23, 2001 at 19:29:48 +0200, Pavel Tsekov wrote:
>  
> links describing a problem in newlib's
> fseek implementation (this one is actually
> BSD derived code). It seems this problem
> currently exists in *BSDs too - I
> didnt actually have the opportunity to test
> it myself, but I've looked at the FreeBSD
> and OpenBSD implementations of fseek and
> it seems they have the problem too.
> 
> The first link contains a description of
> the problem and testcase, the second one
> contains my observations on the problem:
> 
> http://www.cygwin.com/ml/cygwin/2001-10/msg01211.html
> http://www.cygwin.com/ml/cygwin/2001-10/msg01298.html

The bug is fixed in FreeBSD-current stdio.c v1.19, two-lines fix setting 
__SMOD of non-zero seek.


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