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.000000000 -0700 +++ winsup/cygwin/syscalls.cc 2004-04-20 22:14:07.504308800 -0700 @@ -603,7 +603,7 @@ lseek64 (int fd, _off64_t pos, int dir) else res = -1; } - syscall_printf ("%d = lseek (%d, %D, %d)", res, fd, pos, dir); + syscall_printf ("%D = lseek (%d, %D, %d)", res, fd, pos, dir); return res; } @@ -1697,7 +1697,7 @@ truncate64 (const char *pathname, _off64 res = ftruncate64 (fd, length); close (fd); } - syscall_printf ("%d = truncate (%s, %d)", res, pathname, length); + syscall_printf ("%d = truncate (%s, %D)", res, pathname, length); return res; } -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/