From 1c71d8b13b54f91ddec361d3053ecce26e6ff761 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Fri, 9 Sep 2011 23:07:35 -0700 Subject: zlib 0.91 --- README | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) (limited to 'README') diff --git a/README b/README index 0c718f1..caeccb9 100644 --- a/README +++ b/README @@ -1,25 +1,31 @@ -zlib 0.9 is a beta version of a general purpose compression library. +zlib 0.91 is a beta version of a general purpose compression library. The data format used by the zlib library is described in the -file zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available +files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available in ftp.uu.net:/pub/archiving/zip/doc. All functions of the compression library are documented in the file zlib.h. A usage example of the library is given in the file example.c which also tests that the library is working correctly. -To compile all files and run the test program, just type: make test -The changes made in version 0.9 are documented in the file ChangeLog. -The main changes since 0.8 are: -- don't assume that zalloc clears the allocated memory -- let again gzread copy uncompressed data unchanged (was working in 0.71) -- deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented +To compile all files and run the test program, just type: make test +(For MSDOS, use one of the special makefiles such as Makefile.msc.) +To install the zlib library (libgz.a) in /usr/local/lib, type: make install +To install in a different directory, use for example: make install prefix=$HOME +This will install in $HOME/lib instead of /usr/local/lib. + +The changes made in version 0.91 are documented in the file ChangeLog. +The main changes since 0.9 are: +- Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h +- Document the memory requirements in zconf.h +- added "make install" +- added support for DJGPP On MSDOS, this version works in both large and small model. However -small model compression works only for small values of MEM_LEVEL and -WBITS (see zutil.h). Small model decompression should work up to WBITS=15. -This version of zlib does not support small or medium model with far -allocation of big objects. +small model compression works only for small values of MAX_MEM_LEVEL +and MAX_WBITS (see zconf.h). Small model decompression should work up +to MAX_WBITS=15. This version of zlib does not support small or +medium model with far allocation of big objects. Copyright (C) 1995 Jean-loup Gailly and Mark Adler -- cgit v1.2.3-55-g6feb