[Python-checkins] r55678 - in python/branches/release25-maint: Lib/ctypes Lib/ctypes/wintypes.py Misc/NEWS

thomas.heller python-checkins at python.org
Wed May 30 09:07:35 CEST 2007


Author: thomas.heller
Date: Wed May 30 09:07:34 2007
New Revision: 55678

Modified:
   python/branches/release25-maint/Lib/ctypes/   (props changed)
   python/branches/release25-maint/Lib/ctypes/wintypes.py
   python/branches/release25-maint/Misc/NEWS
Log:
Merged revisions 55677 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk/Lib/ctypes

........
  r55677 | thomas.heller | 2007-05-30 09:01:25 +0200 (Mi, 30 Mai 2007) | 2 lines
  
  Correct the name of a field in the WIN32_FIND_DATAA and WIN32_FIND_DATAW structures.
  Closes bug #1726026.
........


Modified: python/branches/release25-maint/Lib/ctypes/wintypes.py
==============================================================================
--- python/branches/release25-maint/Lib/ctypes/wintypes.py	(original)
+++ python/branches/release25-maint/Lib/ctypes/wintypes.py	Wed May 30 09:07:34 2007
@@ -141,7 +141,7 @@
                 ("dwReserved0", DWORD),
                 ("dwReserved1", DWORD),
                 ("cFileName", c_char * MAX_PATH),
-                ("cAlternameFileName", c_char * 14)]
+                ("cAlternateFileName", c_char * 14)]
 
 class WIN32_FIND_DATAW(Structure):
     _fields_ = [("dwFileAttributes", DWORD),
@@ -153,7 +153,7 @@
                 ("dwReserved0", DWORD),
                 ("dwReserved1", DWORD),
                 ("cFileName", c_wchar * MAX_PATH),
-                ("cAlternameFileName", c_wchar * 14)]
+                ("cAlternateFileName", c_wchar * 14)]
 
 __all__ = ['ATOM', 'BOOL', 'BOOLEAN', 'BYTE', 'COLORREF', 'DOUBLE',
            'DWORD', 'FILETIME', 'HACCEL', 'HANDLE', 'HBITMAP', 'HBRUSH',

Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS	(original)
+++ python/branches/release25-maint/Misc/NEWS	Wed May 30 09:07:34 2007
@@ -40,6 +40,8 @@
 
 - Bug #1721309: prevent bsddb module from freeing random memory.
 
+- Bug #1726026: Correct the field names of WIN32_FIND_DATAA and
+  WIN32_FIND_DATAW structures in the ctypes.wintypes module.
 
 Documentation
 -------------


More information about the Python-checkins mailing list