summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README39
1 files changed, 19 insertions, 20 deletions
diff --git a/README b/README
index 1cbd6be..1810978 100644
--- a/README
+++ b/README
@@ -1,6 +1,7 @@
1zlib 0.94 is a beta version of a general purpose compression library. 1zlib 0.95 is a beta version of a general purpose compression library.
2Unless new bugs are found it will be released again as the first official 2This should be the last version before the first official
3version (1.0). This version has no known bugs. 3version (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
5The data format used by the zlib library is described in the 6The data format used by the zlib library is described in the
6files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available 7files 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
9All functions of the compression library are documented in the file 10All functions of the compression library are documented in the file
10zlib.h. A usage example of the library is given in the file example.c 11zlib.h. A usage example of the library is given in the file example.c
11which also tests that the library is working correctly. 12which also tests that the library is working correctly. Another
13example is given in the file minigzip.c.
12 14
13To compile all files and run the test program, just type: make test 15To 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;
17for VMS, use Make_vms.com or descrip.mms.)
15To install the zlib library (libz.a) in /usr/local/lib, type: make install 18To install the zlib library (libz.a) in /usr/local/lib, type: make install
16To install in a different directory, use for example: 19To install in a different directory, use for example:
17 make install prefix=$HOME 20 make install prefix=$HOME
18This will install in $HOME/lib instead of /usr/local/lib. 21This will install in $HOME/lib instead of /usr/local/lib.
19 22
20The changes made in version 0.94 are documented in the file ChangeLog. 23The changes made in version 0.95 are documented in the file ChangeLog.
21The main changes since 0.93 are: 24The 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
31For MSDOS, the small and medium models are supported only for Microsoft C. 30For 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
33a recent Borland compiler to test with.) The small model currently works 32compiler to test with.) The small model was tested with Turbo C but only with
34for Turbo/Borland C but only with reduced performance to avoid any far 33reduced performance to avoid any far allocation; it was tested with
35allocation (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