Message126454
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. |
|
Date |
User |
Action |
Args |
2011-01-18 06:30:59 | rosslagerwall | set | recipients:
+ rosslagerwall, loewis, nadeem.vawda, eckhardt, saa |
2011-01-18 06:30:59 | rosslagerwall | set | messageid: <1295332259.86.0.216285987754.issue4681@psf.upfronthosting.co.za> |
2011-01-18 06:30:57 | rosslagerwall | link | issue4681 messages |
2011-01-18 06:30:57 | rosslagerwall | create | |
|