diff options
Diffstat (limited to 'README')
-rw-r--r-- | README | 38 |
1 files changed, 20 insertions, 18 deletions
@@ -1,4 +1,4 @@ | |||
1 | zlib 1.0.8 is a general purpose data compression library. All the code | 1 | zlib 1.0.9 is a general purpose data compression library. All the code |
2 | is thread safe. The data format used by the zlib library | 2 | is thread safe. The data format used by the zlib library |
3 | is described by RFCs (Request for Comments) 1950 to 1952 in the files | 3 | is described by RFCs (Request for Comments) 1950 to 1952 in the files |
4 | ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate | 4 | ftp://ds.internic.net/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate |
@@ -25,18 +25,22 @@ Mark Nelson wrote an article about zlib for the Jan. 1997 issue of | |||
25 | Dr. Dobb's Journal; a copy of the article is available in | 25 | Dr. Dobb's Journal; a copy of the article is available in |
26 | http://web2.airmail.net/markn/articles/zlibtool/zlibtool.htm | 26 | http://web2.airmail.net/markn/articles/zlibtool/zlibtool.htm |
27 | 27 | ||
28 | The changes made in version 1.0.8 are documented in the file ChangeLog. | 28 | The changes made in version 1.0.9 are documented in the file ChangeLog. |
29 | The main changes since 1.0.7 are: | 29 | The main changes since 1.0.8 are: |
30 | |||
31 | - added gzputs and gzgets functions | ||
32 | - do not clear eof flag in gzseek (Mark Diekhans) | ||
33 | - fix gzseek for files in transparent mode (Mark Diekhans) | ||
34 | - do not assume that vsprintf returns the number of bytes written (Jens Krinke) | ||
35 | - replace EXPORT with ZEXPORT to avoid conflict with other programs | ||
36 | - added compress2 in zconf.h, zlib.def, zlib.dnt | ||
37 | - new asm code from Gilles Vollant in contrib/asm386 | ||
38 | - simplify the inflate code (Mark): | ||
39 | . Replace ZALLOC's in huft_build() with single ZALLOC in inflate_blocks_new() | ||
40 | . ZALLOC the length list in inflate_trees_fixed() instead of using stack | ||
41 | . ZALLOC the value area for huft_build() instead of using stack | ||
42 | . Simplify Z_FINISH check in inflate() | ||
30 | 43 | ||
31 | - fixed offsets in contrib/asm386/gvmat32.asm (Gilles Vollant) | ||
32 | - fix gzgetc and gzputc for big endian systems (Markus Oberhumer) | ||
33 | - added compress2() to allow setting the compression level | ||
34 | - include sys/types.h to get off_t on some systems (Marc Lehmann & QingLong) | ||
35 | - use constant arrays for the static trees in trees.c instead of computing | ||
36 | them at run time (thanks to Ken Raeburn for this suggestion). To create | ||
37 | trees.h, compile with GEN_TREES_H and run "make test". | ||
38 | - check return code of example in "make test" and display result | ||
39 | - pass minigzip command line options to file_compress | ||
40 | 44 | ||
41 | Unsupported third party contributions are provided in directory "contrib". | 45 | Unsupported third party contributions are provided in directory "contrib". |
42 | 46 | ||
@@ -65,9 +69,6 @@ Notes for some targets: | |||
65 | See contrib/visual-basic.txt for more information. | 69 | See contrib/visual-basic.txt for more information. |
66 | I don't know how to handle structures in Visual Basic, sorry. | 70 | I don't know how to handle structures in Visual Basic, sorry. |
67 | 71 | ||
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 | |||
71 | - For 64-bit Irix, deflate.c must be compiled without any optimization. | 72 | - For 64-bit Irix, deflate.c must be compiled without any optimization. |
72 | With -O, one libpng test fails. The test works in 32 bit mode (with | 73 | With -O, one libpng test fails. The test works in 32 bit mode (with |
73 | the -n32 compiler flag). The compiler bug has been reported to SGI. | 74 | the -n32 compiler flag). The compiler bug has been reported to SGI. |
@@ -75,11 +76,12 @@ Notes for some targets: | |||
75 | - zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 | 76 | - zlib doesn't work with gcc 2.6.3 on a DEC 3000/300LX under OSF/1 2.1 |
76 | it works when compiled with cc. | 77 | it works when compiled with cc. |
77 | 78 | ||
78 | - zlib doesn't work on HP-UX 9.05 with one cc compiler (the one not | 79 | - zlib doesn't work on HP-UX 9.05 with some versions of /bin/cc. It works |
79 | accepting the -O option). It works with the other cc compiler. | 80 | with other compilers. Use "make test" to check your compiler. |
80 | 81 | ||
81 | - For shared memory multiprocessors, the decompression code assumes that | 82 | - For shared memory multiprocessors, the decompression code assumes that |
82 | writes to pointers are atomic. | 83 | writes to pointers are atomic. Also the functions zalloc and zfree passed |
84 | to deflateInit must be multi-threaded in this case. | ||
83 | 85 | ||
84 | - gzdopen is not supported on RISCOS, BEOS and Mac | 86 | - gzdopen is not supported on RISCOS, BEOS and Mac |
85 | 87 | ||