summaryrefslogtreecommitdiffstats
path: root/Modules/mmapmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-02-16 08:08:54 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-02-16 08:08:54 (GMT)
commit3eaf2b50441a3c6eac87b6dcd4f602de825de64d (patch)
tree4fe8de46388e5331e7d7b62afe53f8c1ed3ba4d7 /Modules/mmapmodule.c
parent82c5a86d7c36ee293c7a3569d27f1668b1a672b7 (diff)
downloadcpython-3eaf2b50441a3c6eac87b6dcd4f602de825de64d.zip
cpython-3eaf2b50441a3c6eac87b6dcd4f602de825de64d.tar.gz
cpython-3eaf2b50441a3c6eac87b6dcd4f602de825de64d.tar.bz2
Update comment and make accurate.
Diffstat (limited to 'Modules/mmapmodule.c')
-rw-r--r--Modules/mmapmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index 7a68de4..ef6d9f8 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -54,7 +54,7 @@ my_getpagesize(void)
#include <string.h>
#include <sys/types.h>
-/* maybe define MAP_ANON in terms of MAP_ANONYMOUS */
+/* Prefer MAP_ANONYMOUS since MAP_ANON is deprecated according to man page. */
#if !defined(MAP_ANONYMOUS) && defined(MAP_ANON)
# define MAP_ANONYMOUS MAP_ANON
#endif