From b75971ef8a9ea404cd31d553634d6d1d46159b59 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 27 Sep 2007 09:35:06 +0000 Subject: * ntdll.h (struct _FILE_COMPRESSION_INFORMATION): Align with definition in w32api / MSDN. * fhandler_disk_file.cc (fhandler_base::fstat_helper): Accommodate change to struct _FILE_COMPRESSION_INFORMATION. --- winsup/cygwin/ntdll.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'winsup/cygwin/ntdll.h') diff --git a/winsup/cygwin/ntdll.h b/winsup/cygwin/ntdll.h index fa12f15f6..136334124 100644 --- a/winsup/cygwin/ntdll.h +++ b/winsup/cygwin/ntdll.h @@ -651,11 +651,12 @@ typedef struct _FILE_PIPE_LOCAL_INFORMATION typedef struct _FILE_COMPRESSION_INFORMATION { - LARGE_INTEGER CompressedSize; + LARGE_INTEGER CompressedFileSize; USHORT CompressionFormat; UCHAR CompressionUnitShift; - UCHAR Unknown; - UCHAR ClusterSizeShift; + UCHAR ChunkShift; + UCHAR ClusterShift; + UCHAR Reserved[3]; } FILE_COMPRESSION_INFORMATION, *PFILE_COMPRESSION_INFORMATION; typedef struct _FILE_FS_DEVICE_INFORMATION -- cgit v1.2.3