]> git.lizzy.rs Git - zlib.git/blob - README
zlib 0.95
[zlib.git] / README
1 zlib 0.95 is a beta version of a general purpose compression library.
2 This should be the last version before the first official
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.
5
6 The data format used by the zlib library is described in the
7 files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available
8 in ftp.uu.net:/pub/archiving/zip/doc.
9
10 All functions of the compression library are documented in the file
11 zlib.h. A usage example of the library is given in the file example.c
12 which also tests that the library is working correctly. Another
13 example is given in the file minigzip.c.
14
15 To compile all files and run the test program, just type: make test
16 (For MSDOS, use one of the special makefiles such as Makefile.msc;
17 for VMS, use Make_vms.com or descrip.mms.)
18 To install the zlib library (libz.a) in /usr/local/lib, type: make install
19 To install in a different directory, use for example:
20   make install prefix=$HOME
21 This will install in $HOME/lib instead of /usr/local/lib.
22
23 The changes made in version 0.95 are documented in the file ChangeLog.
24 The main changes since 0.94 are:
25 - fix MSDOS small and medium model (now easier to adapt to any compiler)
26 - inlined send_bits
27 - fix the final (:-) bug for deflate with flush (output was correct but
28   not completely flushed in rare occasions).
29
30 For MSDOS, the small and medium models have been tested only with Microsoft C.
31 (This should now work for Borland C also, but I don't have a recent Borland
32 compiler to test with.) The small model was tested with Turbo C but only with
33 reduced performance to avoid any far allocation; it was tested with
34  -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3
35
36
37  (C) 1995 Jean-loup Gailly and Mark Adler
38
39   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   arising from the use of this software.
42
43   Permission is granted to anyone to use this software for any purpose,
44   including commercial applications, and to alter it and redistribute it
45   freely, subject to the following restrictions:
46
47   1. The origin of this software must not be misrepresented; you must not
48      claim that you wrote the original software. If you use this software
49      in a product, an acknowledgment in the product documentation would be
50      appreciated but is not required.
51   2. Altered source versions must be plainly marked as such, and must not be
52      misrepresented as being the original software.
53   3. This notice may not be removed or altered from any source distribution.
54
55   Jean-loup Gailly        Mark Adler
56   gzip@prep.ai.mit.edu    madler@alumni.caltech.edu
57
58 If you use the zlib library in a product, we would appreciate *not*
59 receiving lengthy legal documents to sign. The sources are provided
60 for free but without warranty of any kind.  The library has been
61 entirely written by Jean-loup Gailly and Mark Adler; it does not
62 include third-party code.
63
64 If you redistribute modified sources, we would appreciate that you include
65 in the file ChangeLog history information documenting your changes.