• Guido van Rossum's avatar
    Two different changes. · 95bdd0b6
    Guido van Rossum yazdı
    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.
    95bdd0b6
gzip.py 10.8 KB