[Zlib-devel] Re: Inflate 1.2.beta0 available for testing

Mark Adler madler at alumni.caltech.edu
Mon Nov 25 20:55:01 EST 2002


On Monday, November 25, 2002, at 03:49  PM, Mark Adler wrote:
> It provides these enticing improvements:

I forgot one:

- Automatically decompresses zlib or gzip streams depending on the 
first two bytes of the stream.

I did that because we have received, I don't know, hundreds of emails 
asking: "zlib gives a data error for this perfectly good gzip file.  
Why is that?"  So after explaining hundreds of times that zlib and gzip 
are different formats, I figured I might have a happier, more 
fulfilling life if I rigged inflate to simply deal with gzip files.

There is a #define that disables gzip decoding, in order to avoid 
linking in the crc-32 code for applications that don't need it.

mark





More information about the Zlib-devel mailing list