diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 39 |
1 files changed, 19 insertions, 20 deletions
@@ -1,6 +1,7 @@ | |||
1 | zlib 0.94 is a beta version of a general purpose compression library. | 1 | zlib 0.95 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 | 2 | This should be the last version before the first official |
3 | version (1.0). This version has no known bugs. | 3 | version (1.0), so please test it now. (At least compile and run it with |
4 | "make test"). This version has no known bugs. | ||
4 | 5 | ||
5 | The data format used by the zlib library is described in the | 6 | The data format used by the zlib library is described in the |
6 | files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available | 7 | files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available |
@@ -8,31 +9,29 @@ in ftp.uu.net:/pub/archiving/zip/doc. | |||
8 | 9 | ||
9 | All functions of the compression library are documented in the file | 10 | All functions of the compression library are documented in the file |
10 | zlib.h. A usage example of the library is given in the file example.c | 11 | zlib.h. A usage example of the library is given in the file example.c |
11 | which also tests that the library is working correctly. | 12 | which also tests that the library is working correctly. Another |
13 | example is given in the file minigzip.c. | ||
12 | 14 | ||
13 | To compile all files and run the test program, just type: make test | 15 | To compile all files and run the test program, just type: make test |
14 | (For MSDOS, use one of the special makefiles such as Makefile.msc.) | 16 | (For MSDOS, use one of the special makefiles such as Makefile.msc; |
17 | for VMS, use Make_vms.com or descrip.mms.) | ||
15 | To install the zlib library (libz.a) in /usr/local/lib, type: make install | 18 | To install the zlib library (libz.a) in /usr/local/lib, type: make install |
16 | To install in a different directory, use for example: | 19 | To install in a different directory, use for example: |
17 | make install prefix=$HOME | 20 | make install prefix=$HOME |
18 | This will install in $HOME/lib instead of /usr/local/lib. | 21 | This will install in $HOME/lib instead of /usr/local/lib. |
19 | 22 | ||
20 | The changes made in version 0.94 are documented in the file ChangeLog. | 23 | The changes made in version 0.95 are documented in the file ChangeLog. |
21 | The main changes since 0.93 are: | 24 | The main changes since 0.94 are: |
22 | - support MSDOS small and medium model | 25 | - fix MSDOS small and medium model (now easier to adapt to any compiler) |
23 | - fix deflate with flush (could sometimes generate bad output) | 26 | - inlined send_bits |
24 | - fix deflateReset (zlib header was incorrectly suppressed) | 27 | - fix the final (:-) bug for deflate with flush (output was correct but |
25 | - added support for VMS | 28 | not completely flushed in rare occasions). |
26 | - allow a compression level in gzopen() | ||
27 | - gzflush now calls fflush | ||
28 | - For deflate with flush, flush even if no more input is provided. | ||
29 | - rename libgz.a as libz.a | ||
30 | 29 | ||
31 | For MSDOS, the small and medium models are supported only for Microsoft C. | 30 | For MSDOS, the small and medium models have been tested only with Microsoft C. |
32 | (It should be easy to support them for Borland C also, but I don't have | 31 | (This should now work for Borland C also, but I don't have a recent Borland |
33 | a recent Borland compiler to test with.) The small model currently works | 32 | compiler to test with.) The small model was tested with Turbo C but only with |
34 | for Turbo/Borland C but only with reduced performance to avoid any far | 33 | reduced performance to avoid any far allocation; it was tested with |
35 | allocation (tested with -DMAX_WBITS=11 -DDEF_WBITS=11 -DMAX_MEM_LEVEL=3). | 34 | -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 |
36 | 35 | ||
37 | 36 | ||
38 | (C) 1995 Jean-loup Gailly and Mark Adler | 37 | (C) 1995 Jean-loup Gailly and Mark Adler |