commit | a98011c388bea7ac0d8f0ed4b3b712aea0e5739f | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Tue Jul 02 20:20:08 2002 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Tue Jul 02 20:20:08 2002 +0000 |
tree | c1758d32038b95c2e88c389b86bd08c879306783 | |
parent | fbd79944a8ed747048d20cacea4d6df2b8f930ef [diff] |
Fix for SF bug #576327: zipfile when sizeof(long) == 8 binascii_crc32(): Make this return a signed 4-byte result across platforms. The other way to make this platform-independent would be to make it return an unsigned unbounded int, but the evidence suggests other code out there treats it like a signed 4-byte int (e.g., existing code writing the result with struct.pack "l" format). Bugfix candidate.