• Gregory P. Smith's avatar
    Fix zip_import.c's read_directory() to use appropriate types for the values · ab32066e
    Gregory P. Smith authored
    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).
    ab32066e
zipimport.c 39.5 KB