[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pwrite module
From: |
Peter O'Gorman |
Subject: |
Re: pwrite module |
Date: |
Tue, 18 May 2010 21:07:23 -0500 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
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
address@hidden
Re: pwrite module, Simon Josefsson, 2010/05/18
- Re: pwrite module,
Peter O'Gorman <=