[Python-checkins] gh-99726: Fix order of recently added fields for FILE_STAT_BASIC_INFORMATION (GH-102976)

zooba webhook-mailer at python.org
Thu Mar 23 19:27:53 EDT 2023


https://github.com/python/cpython/commit/f1e3eeebc01941f9c25bca4d2fa6313cf5041cc4
commit: f1e3eeebc01941f9c25bca4d2fa6313cf5041cc4
branch: main
author: Steve Dower <steve.dower at python.org>
committer: zooba <steve.dower at microsoft.com>
date: 2023-03-23T23:27:46Z
summary:

gh-99726: Fix order of recently added fields for FILE_STAT_BASIC_INFORMATION (GH-102976)

files:
M Include/internal/pycore_fileutils_windows.h

diff --git a/Include/internal/pycore_fileutils_windows.h b/Include/internal/pycore_fileutils_windows.h
index 44874903b092..9bc7feb8cecd 100644
--- a/Include/internal/pycore_fileutils_windows.h
+++ b/Include/internal/pycore_fileutils_windows.h
@@ -25,8 +25,8 @@ typedef struct _FILE_STAT_BASIC_INFORMATION {
     ULONG DeviceType;
     ULONG DeviceCharacteristics;
     ULONG Reserved;
-    FILE_ID_128 FileId128;
     LARGE_INTEGER VolumeSerialNumber;
+    FILE_ID_128 FileId128;
 } FILE_STAT_BASIC_INFORMATION;
 
 typedef enum _FILE_INFO_BY_NAME_CLASS {



More information about the Python-checkins mailing list