diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 30 |
1 files changed, 18 insertions, 12 deletions
@@ -1,25 +1,31 @@ | |||
1 | zlib 0.9 is a beta version of a general purpose compression library. | 1 | zlib 0.91 is a beta version of a general purpose compression library. |
2 | 2 | ||
3 | The data format used by the zlib library is described in the | 3 | The data format used by the zlib library is described in the |
4 | file zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available | 4 | files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available |
5 | in ftp.uu.net:/pub/archiving/zip/doc. | 5 | in ftp.uu.net:/pub/archiving/zip/doc. |
6 | 6 | ||
7 | All functions of the compression library are documented in the file | 7 | All functions of the compression library are documented in the file |
8 | zlib.h. A usage example of the library is given in the file example.c | 8 | zlib.h. A usage example of the library is given in the file example.c |
9 | which also tests that the library is working correctly. | 9 | which also tests that the library is working correctly. |
10 | To compile all files and run the test program, just type: make test | ||
11 | 10 | ||
12 | The changes made in version 0.9 are documented in the file ChangeLog. | 11 | To compile all files and run the test program, just type: make test |
13 | The main changes since 0.8 are: | 12 | (For MSDOS, use one of the special makefiles such as Makefile.msc.) |
14 | - don't assume that zalloc clears the allocated memory | 13 | To install the zlib library (libgz.a) in /usr/local/lib, type: make install |
15 | - let again gzread copy uncompressed data unchanged (was working in 0.71) | 14 | To install in a different directory, use for example: make install prefix=$HOME |
16 | - deflate(Z_FULL_FLUSH), inflateReset and inflateSync are now fully implemented | 15 | This will install in $HOME/lib instead of /usr/local/lib. |
16 | |||
17 | The changes made in version 0.91 are documented in the file ChangeLog. | ||
18 | The main changes since 0.9 are: | ||
19 | - Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h | ||
20 | - Document the memory requirements in zconf.h | ||
21 | - added "make install" | ||
22 | - added support for DJGPP | ||
17 | 23 | ||
18 | On MSDOS, this version works in both large and small model. However | 24 | On MSDOS, this version works in both large and small model. However |
19 | small model compression works only for small values of MEM_LEVEL and | 25 | small model compression works only for small values of MAX_MEM_LEVEL |
20 | WBITS (see zutil.h). Small model decompression should work up to WBITS=15. | 26 | and MAX_WBITS (see zconf.h). Small model decompression should work up |
21 | This version of zlib does not support small or medium model with far | 27 | to MAX_WBITS=15. This version of zlib does not support small or |
22 | allocation of big objects. | 28 | medium model with far allocation of big objects. |
23 | 29 | ||
24 | 30 | ||
25 | Copyright (C) 1995 Jean-loup Gailly and Mark Adler | 31 | Copyright (C) 1995 Jean-loup Gailly and Mark Adler |