This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: [Patch] Update for the testsuite, devdsp
- From: "Pierre A. Humblet" <Pierre dot Humblet at ieee dot org>
- To: cygwin-developers at cygwin dot com
- Date: Sat, 21 Aug 2004 17:45:30 -0400
- Subject: Re: [Patch] Update for the testsuite, devdsp
- References: <20040817121351.GH1689@cygbert.vinschen.de><3.0.5.32.20040816230955.0080fb30@incoming.verizon.net><3.0.5.32.20040816230955.0080fb30@incoming.verizon.net>
At 03:39 PM 8/21/2004 -0400, Pierre A. Humblet wrote:
>ltp/truncate02 fails because of the way the lseek bug is worked around.
> Cygwin clears the section past the old EOF during the write following
> the lseek. But the testsuite reads that section just after the lseek,
> without doing any write, and thus the test fails.
> Is there a deep reason not to clear that section in the lseek call?
> I couldn't find it in the ChangeLog or on the list.
lseek is just fine, but ftruncate should take the lseek bug
into account on 9x. I will fix that.
Pierre