commit | ab32066e65f67e14b3af4ed61333ed083446b225 | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@krypto.org> | Mon Jan 30 15:17:33 2012 -0800 |
committer | Gregory P. Smith <greg@krypto.org> | Mon Jan 30 15:17:33 2012 -0800 |
tree | 5d0624df4bc9444632fcb8f130d28774ee43d608 | |
parent | 2652d2570ea2d34fc790ef99ebd0c3c321fb86cb [diff] |
Fix zip_import.c's read_directory() to use appropriate types for the values being read from the header vs the values being used by fseek and ftell (Py_ssize_t for those) and how they are computed. Py_ssize_t is used for actual file offsets so that files greater than 2gigs could be supported. Updates the Py_BuildValue format string to match (including several existing wrong 'i's that should have been 'l's).