]> granicus.if.org Git - python/commit
Fix zipimport.c's read_directory() to use appropriate types for the values
authorGregory P. Smith <greg@krypto.org>
Mon, 30 Jan 2012 23:55:29 +0000 (15:55 -0800)
committerGregory P. Smith <greg@krypto.org>
Mon, 30 Jan 2012 23:55:29 +0000 (15:55 -0800)
commitcc6abd56b8197bac713ea8d70ac621e78f5aadd8
tree98746ecd433c826fcb6093687760bc05206c94c8
parentf3b2d88b676d5624aed157a70bfa5b606f8249ed
parentab32066e65f67e14b3af4ed61333ed083446b225
Fix zipimport.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).  Updates the Py_BuildValue format string to match
(including several existing wrong 'i's that should have been 'l's).
Modules/zipimport.c