This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akuchling
Recipients
Date 2003-07-14.20:02:41
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=11375

According to my reading of the Single Unix Specification
page for sys/stat.h,
st_size only has a sensible value for regular files and for
symlinks.  This implies that the size comparison should only
be done if S_ISREG() returns true.  Patch attached as
mmap_reg.diff; I'll also check it in after running the tests.
History
Date User Action Args
2007-08-23 15:21:31adminlinkissue708374 messages
2007-08-23 15:21:31admincreate