[Zlib-devel] infnew-6 available for testing

Mark Adler madler at alumni.caltech.edu
Sat Jan 4 20:29:01 EST 2003


zlib lint-pickers,

Version 6 of the new inflate code is available for testing here:

     http://www.alumni.caltech.edu/~madler/infnew-6.tar.gz

This new code can be applied to zlib 1.1.4 as follows (Unix example):

     gnutar xvfz zlib-1.1.4.tar.gz
     cd zlib-1.1.4
     gnutar xvfz ../infnew-6.tar.gz
     patch zlib.h zlib.h-1.2.diff
     rm infblock.* infcodes.* infutil.*
     ./configure
     [ ... make your own modifications to Makefile as needed ... ]
     make test
     [ ... test zlib with your applications ... ]

The only changes in this version are to reduce compiler warnings, 
mostly typecasting.  Please test this and let me know what compiler 
grousing remains.

I have deliberately left in the do {} while (0) constructs since they 
are the only way I can think of to allow macros with statements to 
appear syntactically like functions with no return value, and since 
Glenn said that they caused "remarks", not warnings.

mark





More information about the Zlib-devel mailing list