[issue14232] obmalloc: mmap() returns MAP_FAILED on error, not 0

Antoine Pitrou report at bugs.python.org
Fri Mar 9 17:20:04 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

Ha, good catch. Indeed, under Linux MMAP_FAILED seems to be ((void *) -1).

----------
stage:  -> commit review
type:  -> behavior

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14232>
_______________________________________


More information about the Python-bugs-list mailing list