]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Revert r61779 - It undid correct code and caused test_zlib to fail on all
authorGregory P. Smith <greg@mad-scientist.com>
Sun, 23 Mar 2008 20:31:23 +0000 (20:31 +0000)
committerGregory P. Smith <greg@mad-scientist.com>
Sun, 23 Mar 2008 20:31:23 +0000 (20:31 +0000)
commit73f57b0c058debbcb05e9fefd33897ddaaae5b6f
tree1fab41668c7059c5f9268992b61f4a40bf86d486
parentc4f7bab0a0cd208bcab3c4f6cd8324ed8d08f98e
Revert r61779 - It undid correct code and caused test_zlib to fail on all
platforms with a 64-bit long.

The Alpha/Tru64 test problem is a problem in either tarfile or test_tarfile,
not zlib.

crc32 and adler32 return 32-bit values.  by using a long thats larger than
32-bits in these functions they were prevented from wrapping around to their
signed 32-bit value that we want them to return in python 2.x.
Modules/zlibmodule.c