Re: [PATCH] Fix stat.st_blocks for files compressed with CompactOS method

2017-04-22 Thread Corinna Vinschen
On Apr 22 16:34, Christian Franke wrote: > Corinna Vinschen wrote: > > Hi Christian, > > > > On Apr 22 14:50, Christian Franke wrote: > > > Cygwin 2.8.0 returns stat.st_blocks = 0 if a file is compressed with > > > CompactOS method (at least on Win10 1607): > > > [...] > > > This is because

Re: [PATCH] Fix stat.st_blocks for files compressed with CompactOS method

2017-04-22 Thread Corinna Vinschen
Hi Christian, On Apr 22 14:50, Christian Franke wrote: > Cygwin 2.8.0 returns stat.st_blocks = 0 if a file is compressed with > CompactOS method (at least on Win10 1607): > [...] > This is because StandardInformation.AllocationSize is always 0 for theses > files. CompressedFileSize returns the