Fix testsuite failures with GCC 3.4

2003-02-19 Thread Vaclav Haisman
Hi, this boring patch fixes testsuite failures caused by extra warnings when using GCC 3.4. There are also two hunks that remove include of obsolete varargs.h that causes hard error with GCC 3.4. Vaclav Haisman 2003-02-19 Vaclav Haisman <[EMAIL PROTECTED]> * winsup.api/crlf.c: Fix C s

Re: Create new files as sparse on NT systems. (2nd try)

2003-02-19 Thread Corinna Vinschen
On Wed, Feb 19, 2003 at 09:19:25PM +0100, Corinna Vinschen wrote: > > I'm going to test that *shiver*. > > Well... as a first result: I tried to write two 4K blocks with a > lseek(16K), creating a 24K file which should use only 8K on disk. > > It didn't work. > > Unfortunaltely, NTFS5 seem to s

Re: Create new files as sparse on NT systems. (2nd try)

2003-02-19 Thread Corinna Vinschen
On Wed, Feb 19, 2003 at 08:41:35PM +0100, Corinna Vinschen wrote: > On Wed, Feb 19, 2003 at 12:57:38PM -0500, Christopher Faylor wrote: > > On Wed, Feb 19, 2003 at 10:39:17AM -0500, Joe Buehler wrote: > > >One thing to investigate would be what happens when Windows trys to mmap() > > >a sparse file

Re: Create new files as sparse on NT systems. (2nd try)

2003-02-19 Thread Corinna Vinschen
On Wed, Feb 19, 2003 at 12:57:38PM -0500, Christopher Faylor wrote: > On Wed, Feb 19, 2003 at 10:39:17AM -0500, Joe Buehler wrote: > >One thing to investigate would be what happens when Windows trys to mmap() > >a sparse file. It doesn't bother a UNIX box, but Windows? Perhaps that > >is what Bit

Re: Create new files as sparse on NT systems. (2nd try)

2003-02-19 Thread Christopher Faylor
On Wed, Feb 19, 2003 at 10:39:17AM -0500, Joe Buehler wrote: >Christopher Faylor wrote: > >>>Because it runs as Cygwin app which is Unix-like environment. There is >>>no way to set files sparse in Unix because all files are sparse if the >>>file systems supports it. >> >>...which is, coincidentall

Re: Create new files as sparse on NT systems. (2nd try)

2003-02-19 Thread Joe Buehler
Christopher Faylor wrote: Because it runs as Cygwin app which is Unix-like environment. There is no way to set files sparse in Unix because all files are sparse if the file systems supports it. ...which is, coincidentally enough, why I was interested in the patch. It seems like a win to me -