[issue4681] mmap offset should be off_t instead of ssize_t, and size calculation needs corrected

Ross Lagerwall report at bugs.python.org
Wed Feb 9 15:52:42 CET 2011

Ross Lagerwall <rosslagerwall at gmail.com> added the comment:

OK, this new patch applies cleanly, uses support.unlink and hexadecimal constants.

I left the off_t handling as is (it seems to work on *nix testing). Perhaps someone can handle the Windows side?

Added file: http://bugs.python.org/file20722/mmap_revised.patch

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list