diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-01-30 23:17:33 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-01-30 23:17:33 (GMT) |
commit | ab32066e65f67e14b3af4ed61333ed083446b225 (patch) | |
tree | 5d0624df4bc9444632fcb8f130d28774ee43d608 /Lib/urllib | |
parent | 2652d2570ea2d34fc790ef99ebd0c3c321fb86cb (diff) | |
download | cpython-ab32066e65f67e14b3af4ed61333ed083446b225.zip cpython-ab32066e65f67e14b3af4ed61333ed083446b225.tar.gz cpython-ab32066e65f67e14b3af4ed61333ed083446b225.tar.bz2 |
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).
Diffstat (limited to 'Lib/urllib')
0 files changed, 0 insertions, 0 deletions