Re: lseek returning 2**32-1 on error instead of -1

2004-04-21 Thread Corinna Vinschen
On Apr 20 22:59, Yitzchak Scott-Thoennes wrote: > On Tue, Apr 20, 2004 at 05:18:33PM -0700, Yitzchak Scott-Thoennes wrote: > > > > I believe this to be the cause of perl's op/sysio.t test 39 failing. > > This would have been easier to pin down if the strace had been correct > (patch untested): I'

Re: lseek returning 2**32-1 on error instead of -1

2004-04-20 Thread Yitzchak Scott-Thoennes
On Tue, Apr 20, 2004 at 05:18:33PM -0700, Yitzchak Scott-Thoennes wrote: > > I believe this to be the cause of perl's op/sysio.t test 39 failing. This would have been easier to pin down if the strace had been correct (patch untested): --- winsup/cygwin/syscalls.cc.orig 2004-04-16 14:42:20.00

lseek returning 2**32-1 on error instead of -1

2004-04-20 Thread Yitzchak Scott-Thoennes
Using the latest snapshot 20040420 (though I think it may have been this way since at least 1.5.2): $ cat lseeker.c #include #include #include #include int main(int argc, char **argv) { off_t offset = -1, result; printf ("offsets are size %d.\n", sizeof (off_t)); printf ("offsets ar