[Python-checkins] CVS: python/dist/src/Lib gzip.py

Guido van Rossum guido@cnri.reston.va.us
Mon, 12 Apr 1999 10:34:18 -0400 (EDT)


Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib

Modified Files:
	gzip.py 
Log Message:
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.