This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
Re: 1.3.3-2: fseek fails on multiples of 1024 (binary mode)
On Wed, Oct 24, 2001 at 10:26:40AM +0200, Pavel Tsekov wrote:
>Christopher Faylor wrote:
>>
>> On Tue, Oct 23, 2001 at 11:07:03PM -0400, Christopher Faylor wrote:
>> >Is this fixed in more recent BSD code, perhaps? Or has the code diverged too far
>> >for this to be useful?
>>
>> Answering my own question: No, the code hasn't changed that much and
>> there seems to be one minor change in it, which is below.
>>
>> Is it my imagination or does this actually fix the problem? I haven't
>> studied the code that much but, from context, the patch makes sense.
>
>Chris, where did you get this diff from ?! :) I think it's indeed the
>thing which fixes the problem - now as I look at the FreeBSD's fseek
>it has this one too. The previous time i looked at it, I've focused on
>the code snippet i pasted in my previous mail.
I got it from the FreeBSD sources.
cgf