]> granicus.if.org Git - python/commit
Two different changes.
authorGuido van Rossum <guido@python.org>
Mon, 12 Apr 1999 14:34:16 +0000 (14:34 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 12 Apr 1999 14:34:16 +0000 (14:34 +0000)
commit95bdd0b60466f38166e86b83d27ecff3df0352d5
tree60b08c43d6a0b91369346454ac35f8a736144530
parent65f685b7aabf6b9526fc765235bbe10b979b6dcc
Two different changes.

1. Jack Jansen reports that on the Mac, the time may be negative, and
solves this by adding a write32u() function that writes an unsigned
long.

2. On 64-bit platforms the CRC comparison fails; I've fixed this by
casting both values to be compared to "unsigned long" i.e. modulo
0x100000000L.
Lib/gzip.py