On Tue, May 18, 2010 at 08:36:28PM +0200, Simon Josefsson wrote:
> The pwrite self-test fails under Cygwin, is this a known issue?

No :)

> 
> http://autobuild.josefsson.org/gnulib/log-201005172227940062000.txt

Hmm, it succeeds writing a byte at (off_t)-1? I guess you end up with a
very large sparse file :)

This chunk of the test I blindly copied from test-pread.c and changed to
pwrite instead. It may be ok that this succeeds, it didn't on the 3
systems I tried it on though (FreeBSD, RHEL, HP-UX10), it failed and set
errno to EINVAL.

Peter
-- 
Peter O'Gorman
po...@thewrittenword.com

Reply via email to