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

Corinna Vinschen cygwin-patches@cygwin.com
Thu Feb 20 11:13:00 GMT 2003


On Wed, Feb 19, 2003 at 10:06:37PM +0100, Corinna Vinschen wrote:
> Since st_blocks contains the number of blocks allocated, according to
> the Linux man page and SUSv3, shouldn't we change st_blocks to reflect
> the value of GetCompressedFileSize() now?

I've checked in a patch so st_blocks is now computed using
GetCompressedFileSize() on NT systems.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.



More information about the Cygwin-patches mailing list