Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 02:56:30 +0400
From:      "Andrey A. Chernov" <ache@nagual.pp.ru>
To:        Pavel Tsekov <ptsekov@syntrex.com>
Cc:        netbsd-bugs@netbsd.org, freebsd-bugs@FreeBSD.ORG
Subject:   Re: [Fwd: [BUG] BSD libc fseek bug]
Message-ID:  <20011024025629.A18932@nagual.pp.ru>
In-Reply-To: <3BD5A90C.C310E49A@syntrex.com>
References:  <3BD5A90C.C310E49A@syntrex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011024025629.A18932>