]> granicus.if.org Git - python/commit
Fix test_tarfile failures on Alpha (Tru64). The problem was caused in r61449
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 23 Mar 2008 05:08:37 +0000 (05:08 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 23 Mar 2008 05:08:37 +0000 (05:08 +0000)
commitacbd6420e35754d31039e53333171f3ee50fcdc6
treed1511e34ca69f63d94ff865b30785f385af6943a
parent3bda069c5ab3a172c46f5f81b972a7e05161196a
Fix test_tarfile failures on Alpha (Tru64).  The problem was caused in r61449
which made the return value signed.  On the Alpha that also lost data
since sizeof(int) != sizeof(long) and apparently adler32/crc32 return
64 bits of data.  This change keeps the signedness and continues to store the
data in a long rather than an int as was the case before r61449.
Modules/zlibmodule.c