]> granicus.if.org Git - python/commit
Fix the size() method to return the size of the file on Unix, not the
authorAndrew M. Kuchling <amk@amk.ca>
Sat, 17 Jun 2000 22:41:22 +0000 (22:41 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Sat, 17 Jun 2000 22:41:22 +0000 (22:41 +0000)
commit7b9fb92932ff1d501229263a69a4434558b0271d
tree47917763359d622e70605513ce3367fcb269255b
parentb8050697b81425a154c20927f39d4ade3d84b7b9
Fix the size() method to return the size of the file on Unix, not the
size of the mapped area.  This seems to be what the Windows version does.
This change requires keeping around the fd of the mapped file.
Modules/mmapmodule.c