commit | 73f57b0c058debbcb05e9fefd33897ddaaae5b6f | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@mad-scientist.com> | Sun Mar 23 20:31:23 2008 +0000 |
committer | Gregory P. Smith <greg@mad-scientist.com> | Sun Mar 23 20:31:23 2008 +0000 |
tree | 1fab41668c7059c5f9268992b61f4a40bf86d486 | |
parent | c4f7bab0a0cd208bcab3c4f6cd8324ed8d08f98e [diff] |
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.