diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 43 |
1 files changed, 22 insertions, 21 deletions
@@ -1,4 +1,6 @@ | |||
1 | zlib 0.93 is a beta version of a general purpose compression library. | 1 | zlib 0.94 is a beta version of a general purpose compression library. |
2 | Unless new bugs are found it will be released again as the first official | ||
3 | version (1.0). This version has no known bugs. | ||
2 | 4 | ||
3 | The data format used by the zlib library is described in the | 5 | The data format used by the zlib library is described in the |
4 | files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available | 6 | files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available |
@@ -10,31 +12,30 @@ which also tests that the library is working correctly. | |||
10 | 12 | ||
11 | To compile all files and run the test program, just type: make test | 13 | To compile all files and run the test program, just type: make test |
12 | (For MSDOS, use one of the special makefiles such as Makefile.msc.) | 14 | (For MSDOS, use one of the special makefiles such as Makefile.msc.) |
13 | To install the zlib library (libgz.a) in /usr/local/lib, type: make install | 15 | To install the zlib library (libz.a) in /usr/local/lib, type: make install |
14 | To install in a different directory, use for example: make install prefix=$HOME | 16 | To install in a different directory, use for example: |
17 | make install prefix=$HOME | ||
15 | This will install in $HOME/lib instead of /usr/local/lib. | 18 | This will install in $HOME/lib instead of /usr/local/lib. |
16 | 19 | ||
17 | The changes made in version 0.93 are documented in the file ChangeLog. | 20 | The changes made in version 0.94 are documented in the file ChangeLog. |
18 | The main changes since 0.9 are: | 21 | The main changes since 0.93 are: |
19 | - temporarily disable inline functions | 22 | - support MSDOS small and medium model |
20 | - make deflate deterministic | 23 | - fix deflate with flush (could sometimes generate bad output) |
21 | - don't use signed char in inflate (not portable enough) | 24 | - fix deflateReset (zlib header was incorrectly suppressed) |
22 | - fix inflate memory leak for segmented architectures | 25 | - added support for VMS |
23 | - Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h | 26 | - allow a compression level in gzopen() |
24 | - Document the memory requirements in zconf.h | 27 | - gzflush now calls fflush |
25 | - added "make install" | 28 | - For deflate with flush, flush even if no more input is provided. |
26 | - added support for DJGPP and Pyramid | 29 | - rename libgz.a as libz.a |
27 | - fix an inflate bug for stored blocks. | ||
28 | - various speedups | ||
29 | 30 | ||
30 | On MSDOS, this version works in both large and small model. However | 31 | For MSDOS, the small and medium models are supported only for Microsoft C. |
31 | small model compression works only for small values of MAX_MEM_LEVEL | 32 | (It should be easy to support them for Borland C also, but I don't have |
32 | and MAX_WBITS (see zconf.h). Small model decompression should work up | 33 | a recent Borland compiler to test with.) The small model currently works |
33 | to MAX_WBITS=15. This version of zlib does not support small or | 34 | for Turbo/Borland C but only with reduced performance to avoid any far |
34 | medium model with far allocation of big objects. | 35 | allocation (tested with -DMAX_WBITS=11 -DDEF_WBITS=11 -DMAX_MEM_LEVEL=3). |
35 | 36 | ||
36 | 37 | ||
37 | Copyright (C) 1995 Jean-loup Gailly and Mark Adler | 38 | (C) 1995 Jean-loup Gailly and Mark Adler |
38 | 39 | ||
39 | This software is provided 'as-is', without any express or implied | 40 | This software is provided 'as-is', without any express or implied |
40 | warranty. In no event will the authors be held liable for any damages | 41 | warranty. In no event will the authors be held liable for any damages |