]> granicus.if.org Git - python/commit
Issue #5385: Fixed mmap crash after resize failure on windows.
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Thu, 5 Mar 2009 14:21:12 +0000 (14:21 +0000)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Thu, 5 Mar 2009 14:21:12 +0000 (14:21 +0000)
commit264fc12fbff471d137f61e5fd7152f5a7df9eb6c
tree4b8c2c1496a7b81bcee8245000c3f3f7af914478
parenta3e6c9763c475a93ab5fab0a42b2b3718e196d93
Issue #5385: Fixed mmap crash after resize failure on windows.

Now uses NULL instead of INVALID_HANDLE_VALUE as invalid map handle
because CreateFileMapping returns NULL when error occurs.
Lib/test/test_mmap.py
Misc/NEWS
Modules/mmapmodule.c