summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heller <theller@ctypes.org>2007-05-30 07:07:34 (GMT)
committerThomas Heller <theller@ctypes.org>2007-05-30 07:07:34 (GMT)
commitb40092bf98d8905a46a4bca1a5358897309f800c (patch)
tree812e2bd9229c026db76c4db367b60198d125e98b
parent8c6ec81ac8346cad6840fcbe5d058bfd232b6a49 (diff)
downloadcpython-b40092bf98d8905a46a4bca1a5358897309f800c.zip
cpython-b40092bf98d8905a46a4bca1a5358897309f800c.tar.gz
cpython-b40092bf98d8905a46a4bca1a5358897309f800c.tar.bz2
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. ........
-rw-r--r--Lib/ctypes/wintypes.py4
-rw-r--r--Misc/NEWS2
2 files changed, 4 insertions, 2 deletions
diff --git a/Lib/ctypes/wintypes.py b/Lib/ctypes/wintypes.py
index 9768233..c7552e3 100644
--- a/Lib/ctypes/wintypes.py
+++ b/Lib/ctypes/wintypes.py
@@ -141,7 +141,7 @@ class WIN32_FIND_DATAA(Structure):
("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 @@ class WIN32_FIND_DATAW(Structure):
("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',
diff --git a/Misc/NEWS b/Misc/NEWS
index bc0e974..8e6a049 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -40,6 +40,8 @@ Extension Modules
- 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
-------------