Ross Lagerwall <rosslagerw...@gmail.com> added the comment:

Attached is a fix to make offset use off_t. This means that mmap will work with 
offset > 2GB on 32bit systems.

It also fixes that mmap.size() returns the correct value for files > 2GB on 
32bit systems.

The first issue of msg78055 was fixed in issue10916, this also fixes the second 
part, raising an exception if the mmap length is too large instead of mmap()ing 
an invalid or wrong size.

----------
nosy: +rosslagerwall
Added file: http://bugs.python.org/file20434/mmap.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4681>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to