This is the mail archive of the
cygwin-developers@cygwin.com
mailing list for the Cygwin project.
Re: [corinna-cygwin@cygwin.com: Re: ENOTSOCK errors with cygwin dll 1.3.21 and 1.3.22]
On Mon, May 26, 2003 at 05:27:26PM +0200, Corinna Vinschen wrote:
>On Mon, May 26, 2003 at 11:05:49AM -0400, Pierre A. Humblet wrote:
>> 1) The way I think you have it, a file can be made sparse even when
>> O_CREAT | O_TRUNC isn't set. Is that desirable?
>
>Yes, I think so. Why shouldn't a file become sparse when the accessing
>application are going to create holes by seeking beyond EOF? That's
>the only situation in which this might happen.
Right. If we are writing beyond EOF, we are creating sparse files by
default. I wouldn't mind dropping the 64K check, in fact.
>> 5) Not related, there is a bug on line 209 of fhandler.cc. test for size,
>> not upper1.
>
>You're going to send a patch, I assume.
It's my bug. I'll fix it.
cgf