summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README45
1 files changed, 26 insertions, 19 deletions
diff --git a/README b/README
index 8d33fb9..0adc66f 100644
--- a/README
+++ b/README
@@ -1,15 +1,16 @@
1zlib 1.0.7 is a general purpose data compression library. All the code 1zlib 1.0.8 is a general purpose data compression library. All the code
2is reentrant (thread safe). The data format used by the zlib library 2is thread safe. The data format used by the zlib library
3is described by RFCs (Request for Comments) 1950 to 1952 in the files 3is described by RFCs (Request for Comments) 1950 to 1952 in the files
4ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate 4ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate
5format) and rfc1952.txt (gzip format). These documents are also available in 5format) and rfc1952.txt (gzip format). These documents are also available in
6other formats from ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html 6other formats from ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html
7 7
8All functions of the compression library are documented in the file 8All functions of the compression library are documented in the file zlib.h
9zlib.h. A usage example of the library is given in the file example.c 9(volunteer to write man pages welcome, contact jloup@gzip.org). A usage
10which also tests that the library is working correctly. Another 10example of the library is given in the file example.c which also tests that
11example is given in the file minigzip.c. The compression library itself 11the library is working correctly. Another example is given in the file
12is composed of all source files except example.c and minigzip.c. 12minigzip.c. The compression library itself is composed of all source files
13except example.c and minigzip.c.
13 14
14To compile all files and run the test program, follow the instructions 15To compile all files and run the test program, follow the instructions
15given at the top of Makefile. In short "make test; make install" 16given at the top of Makefile. In short "make test; make install"
@@ -24,18 +25,18 @@ Mark Nelson wrote an article about zlib for the Jan. 1997 issue of
24Dr. Dobb's Journal; a copy of the article is available in 25Dr. Dobb's Journal; a copy of the article is available in
25http://web2.airmail.net/markn/articles/zlibtool/zlibtool.htm 26http://web2.airmail.net/markn/articles/zlibtool/zlibtool.htm
26 27
27The changes made in version 1.0.7 are documented in the file ChangeLog. 28The changes made in version 1.0.8 are documented in the file ChangeLog.
28The main changes since 1.0.6 are: 29The main changes since 1.0.7 are:
29 30
30- fix gzseek which was broken in write mode 31- fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant)
31- return error for gzseek to negative absolute position 32- fix gzgetc and gzputc for big endian systems (Markus Oberhumer)
32- fix configure for Linux (Chun-Chung Chen) 33- added compress2() to allow setting the compression level
33- increase stack space for MSC (Tim Wegner) 34- include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong)
34- get_crc_table and inflateSyncPoint are EXPORTed (Gilles Vollant) 35- use constant arrays for the static trees in trees.c instead of computing
35- define EXPORTVA for gzprintf (Gilles Vollant) 36 them at run time (thanks to Ken Raeburn for this suggestion). To create
36- added mini man page zlib.3 (Rick Rodgers) [volunteers to write full 37 trees.h, compile with GEN_TREES_H and run "make test".
37 man pages from zlib.h most welcome. write to jloup@gzip.org] 38- check return code of example in "make test" and display result
38- for contrib/untgz, fix makedir() and improve Makefile 39- pass minigzip command line options to file_compress
39 40
40Unsupported third party contributions are provided in directory "contrib". 41Unsupported third party contributions are provided in directory "contrib".
41 42
@@ -64,6 +65,9 @@ Notes for some targets:
64 See contrib/visual-basic.txt for more information. 65 See contrib/visual-basic.txt for more information.
65 I don't know how to handle structures in Visual Basic, sorry. 66 I don't know how to handle structures in Visual Basic, sorry.
66 67
68- "make test" fails on Solaris 2.6 with gcc 2.8.0. It works with cc and
69 with gcc 2.7.2.1.
70
67- For 64-bit Irix, deflate.c must be compiled without any optimization. 71- For 64-bit Irix, deflate.c must be compiled without any optimization.
68 With -O, one libpng test fails. The test works in 32 bit mode (with 72 With -O, one libpng test fails. The test works in 32 bit mode (with
69 the -n32 compiler flag). The compiler bug has been reported to SGI. 73 the -n32 compiler flag). The compiler bug has been reported to SGI.
@@ -74,7 +78,10 @@ Notes for some targets:
74- zlib doesn't work on HP-UX 9.05 with one cc compiler (the one not 78- zlib doesn't work on HP-UX 9.05 with one cc compiler (the one not
75 accepting the -O option). It works with the other cc compiler. 79 accepting the -O option). It works with the other cc compiler.
76 80
77- gzdopen is not supported on RISCOS 81- For shared memory multiprocessors, the decompression code assumes that
82 writes to pointers are atomic.
83
84- gzdopen is not supported on RISCOS, BEOS and Mac
78 85
79- For Turbo C the small model is supported only with reduced performance to 86- For Turbo C the small model is supported only with reduced performance to
80 avoid any far allocation; it was tested with -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3 87 avoid any far allocation; it was tested with -DMAX_WBITS=11 -DMAX_MEM_LEVEL=3