annotate zlib/README @ 3:5a977ccbc7a9 default tip

Empty changelog
author darius
date Sat, 06 Dec 1997 05:41:29 +0000
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
1 zlib 0.92 is a beta version of a general purpose compression library.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
2
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
3 The data format used by the zlib library is described in the
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
4 files zlib-3.1.doc, deflate-1.1.doc and gzip-4.1.doc, available
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
5 in ftp.uu.net:/pub/archiving/zip/doc.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
6
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
7 All functions of the compression library are documented in the file
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
8 zlib.h. A usage example of the library is given in the file example.c
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
9 which also tests that the library is working correctly.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
10
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
11 To compile all files and run the test program, just type: make test
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
12 (For MSDOS, use one of the special makefiles such as Makefile.msc.)
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
13 To install the zlib library (libgz.a) in /usr/local/lib, type: make install
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
14 To install in a different directory, use for example: make install prefix=$HOME
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
15 This will install in $HOME/lib instead of /usr/local/lib.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
16
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
17 The changes made in version 0.92 are documented in the file ChangeLog.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
18 The main changes since 0.9 are:
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
19 - don't assume that char is signed (problem on SGI)
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
20 - Default MEM_LEVEL is 8 (not 9 for Unix) as documented in zlib.h
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
21 - Document the memory requirements in zconf.h
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
22 - added "make install"
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
23 - added support for DJGPP and Pyramid
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
24 - fix an inflate bug for stored blocks.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
25 - various speedups
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
26
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
27 On MSDOS, this version works in both large and small model. However
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
28 small model compression works only for small values of MAX_MEM_LEVEL
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
29 and MAX_WBITS (see zconf.h). Small model decompression should work up
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
30 to MAX_WBITS=15. This version of zlib does not support small or
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
31 medium model with far allocation of big objects.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
32
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
33
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
34 Copyright (C) 1995 Jean-loup Gailly and Mark Adler
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
35
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
36 This software is provided 'as-is', without any express or implied
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
37 warranty. In no event will the authors be held liable for any damages
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
38 arising from the use of this software.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
39
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
40 Permission is granted to anyone to use this software for any purpose,
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
41 including commercial applications, and to alter it and redistribute it
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
42 freely, subject to the following restrictions:
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
43
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
44 1. The origin of this software must not be misrepresented; you must not
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
45 claim that you wrote the original software. If you use this software
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
46 in a product, an acknowledgment in the product documentation would be
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
47 appreciated but is not required.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
48 2. Altered source versions must be plainly marked as such, and must not be
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
49 misrepresented as being the original software.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
50 3. This notice may not be removed or altered from any source distribution.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
51
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
52 Jean-loup Gailly Mark Adler
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
53 gzip@prep.ai.mit.edu madler@cco.caltech.edu
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
54
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
55 If you use the zlib library in a product, we would appreciate *not*
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
56 receiving lengthy legal documents to sign. The sources are provided
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
57 for free but without warranty of any kind. The library has been
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
58 entirely written by Jean-loup Gailly and Mark Adler; it does not
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
59 include third-party code.
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
60
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
61 If you redistribute modified sources, we would appreciate that you include
5a977ccbc7a9 Empty changelog
darius
parents:
diff changeset
62 in the file ChangeLog history information documenting your changes.