summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-02-05 05:45:43 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-02-05 05:45:43 (GMT)
commit0e6bc8c260f640ceee515e9873353778472e0a00 (patch)
treef567d2bbbde27ae16288e1e94edc4ff0acf13441 /Misc
parentd1cfc8ade1f661f02286f2b81123d4d436c6d9d0 (diff)
downloadcpython-0e6bc8c260f640ceee515e9873353778472e0a00.zip
cpython-0e6bc8c260f640ceee515e9873353778472e0a00.tar.gz
cpython-0e6bc8c260f640ceee515e9873353778472e0a00.tar.bz2
Patch #1407135, bug #1424041, make mmap.mmap(-1, length) work the same
on both Unix (SVR4 and BSD) and Windows. Restores behaviour of passing -1 for anonymous memory on Unix. Use MAP_ANONYMOUS instead of _ANON since the latter is deprecated according to Linux (gentoo) man pages. Should we continue to allow mmap.mmap(0, length) to work on Windows? 0 is a valid fd. Will backport bugfix portions.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7fe0393..1e828d6 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -216,6 +216,10 @@ Core and builtins
Extension Modules
-----------------
+- Patch #1407135, bug #1424041: harmonize mmap behavior of anonymous memory.
+ mmap.mmap(-1, size) now returns anonymous memory in both Unix and Windows.
+ mmap.mmap(0, size) should not be used on Windows for anonymous memory.
+
- Patch #1422385: The nis module now supports access to domains other
than the system default domain.