diff options
| author | Georg Brandl <georg@python.org> | 2013-03-25 06:01:37 (GMT) |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2013-03-25 06:01:37 (GMT) |
| commit | a809e4a54007303efb084b85ba53605adaa41b64 (patch) | |
| tree | d038bc1b85b83594b29f00ae5bc10b5290ffdf71 /PC/bdist_wininst | |
| parent | d08d0b1c69b19c58afb998e30eadfc7b9de26378 (diff) | |
| parent | 153866ea9ab80323d247a9c49d1fdf50e07e7330 (diff) | |
| download | cpython-3.3.1rc1.zip cpython-3.3.1rc1.tar.gz cpython-3.3.1rc1.tar.bz2 | |
merge with upstream 3.3 branchv3.3.1rc1
Diffstat (limited to 'PC/bdist_wininst')
| -rw-r--r-- | PC/bdist_wininst/extract.c | 2 | ||||
| -rw-r--r-- | PC/bdist_wininst/install.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/PC/bdist_wininst/extract.c b/PC/bdist_wininst/extract.c index c900f23..aec8eda 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); diff --git a/PC/bdist_wininst/install.c b/PC/bdist_wininst/install.c index 771922c..c11d45d 100644 --- a/PC/bdist_wininst/install.c +++ b/PC/bdist_wininst/install.c @@ -1019,7 +1019,7 @@ static char *MapExistingFile(char *pathname, DWORD *psize) NULL, PAGE_READONLY, 0, 0, NULL); CloseHandle(hFile); - if (hFileMapping == INVALID_HANDLE_VALUE) + if (hFileMapping == NULL) return NULL; data = MapViewOfFile(hFileMapping, |
