summaryrefslogtreecommitdiff
path: root/PC/bdist_wininst/extract.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-03-25 07:01:37 +0100
committerGeorg Brandl <georg@python.org>2013-03-25 07:01:37 +0100
commita809e4a54007303efb084b85ba53605adaa41b64 (patch)
treed038bc1b85b83594b29f00ae5bc10b5290ffdf71 /PC/bdist_wininst/extract.c
parentd08d0b1c69b19c58afb998e30eadfc7b9de26378 (diff)
parent153866ea9ab80323d247a9c49d1fdf50e07e7330 (diff)
downloadcpython-git-3.3.1rc1.tar.gz
merge with upstream 3.3 branchv3.3.1rc1
Diffstat (limited to 'PC/bdist_wininst/extract.c')
-rw-r--r--PC/bdist_wininst/extract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/bdist_wininst/extract.c b/PC/bdist_wininst/extract.c
index c900f235fd..aec8eda2be 100644
--- a/PC/bdist_wininst/extract.c
+++ b/PC/bdist_wininst/extract.c
@@ -127,7 +127,7 @@ char *map_new_file(DWORD flags, char *filename,
CloseHandle(hFile);
- if (hFileMapping == INVALID_HANDLE_VALUE) {
+ if (hFileMapping == NULL) {
if (notify)
notify(SYSTEM_ERROR,
"CreateFileMapping (%s)", filename);