diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-01-30 15:17:33 -0800 |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-01-30 15:17:33 -0800 |
commit | d6e5d152766a8a7a83da541b73cb50b18f827f83 (patch) | |
tree | c9e4adc0e166a1cb58d7c79b9727d8f3dc539a0b /Python/sysmodule.c | |
parent | a70c2e3c9ee480638400009940609533343ca8c3 (diff) | |
download | cpython-d6e5d152766a8a7a83da541b73cb50b18f827f83.tar.gz |
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 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions