The R Project SVN R

Rev

Rev 17798 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17798 Rev 18679
Line 1... Line 1...
1
zlib 1.1.3 is a general purpose data compression library.  All the code
1
zlib 1.1.4 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
http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate
5
format) and rfc1952.txt (gzip format). These documents are also available in
5
format) and rfc1952.txt (gzip format). These documents are also available in
6
other formats from ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html
6
other formats from ftp://ftp.uu.net/graphics/png/documents/zlib/zdoc-index.html
7
 
7
 
8
All functions of the compression library are documented in the file zlib.h
8
All functions of the compression library are documented in the file zlib.h
9
(volunteer to write man pages welcome, contact jloup@gzip.org). A usage
9
(volunteer to write man pages welcome, contact jloup@gzip.org). A usage
Line 12... Line 12...
12
minigzip.c. The compression library itself is composed of all source files
12
minigzip.c. The compression library itself is composed of all source files
13
except example.c and minigzip.c.
13
except example.c and minigzip.c.
14
 
14
 
15
To compile all files and run the test program, follow the instructions
15
To compile all files and run the test program, follow the instructions
16
given at the top of Makefile. In short "make test; make install"
16
given at the top of Makefile. In short "make test; make install"
17
should work for most machines. For Unix: "configure; make test; make install"
17
should work for most machines. For Unix: "./configure; make test; make install"
18
For MSDOS, use one of the special makefiles such as Makefile.msc.
18
For MSDOS, use one of the special makefiles such as Makefile.msc.
19
For VMS, use Make_vms.com or descrip.mms.
19
For VMS, use Make_vms.com or descrip.mms.
20
 
20
 
21
Questions about zlib should be sent to <zlib@quest.jpl.nasa.gov>, or to
21
Questions about zlib should be sent to <zlib@gzip.org>, or to
22
Gilles Vollant <info@winimage.com> for the Windows DLL version.
22
Gilles Vollant <info@winimage.com> for the Windows DLL version.
23
The zlib home page is http://www.cdrom.com/pub/infozip/zlib/
23
The zlib home page is http://www.zlib.org or http://www.gzip.org/zlib/
24
The official zlib ftp site is ftp://ftp.cdrom.com/pub/infozip/zlib/
-
 
25
Before reporting a problem, please check those sites to verify that
24
Before reporting a problem, please check this site to verify that
26
you have the latest version of zlib; otherwise get the latest version and
25
you have the latest version of zlib; otherwise get the latest version and
27
check whether the problem still exists or not.
26
check whether the problem still exists or not.
28
 
27
 
-
 
28
PLEASE read the zlib FAQ http://www.gzip.org/zlib/zlib_faq.html
-
 
29
before asking for help.
-
 
30
 
29
Mark Nelson <markn@tiny.com> wrote an article about zlib for the Jan. 1997
31
Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan. 1997
30
issue of  Dr. Dobb's Journal; a copy of the article is available in
32
issue of  Dr. Dobb's Journal; a copy of the article is available in
31
http://web2.airmail.net/markn/articles/zlibtool/zlibtool.htm
33
http://dogma.net/markn/articles/zlibtool/zlibtool.htm
32
 
34
 
33
The changes made in version 1.1.3 are documented in the file ChangeLog.
35
The changes made in version 1.1.4 are documented in the file ChangeLog.
34
The main changes since 1.1.2 are:
36
The only changes made since 1.1.3 are bug corrections:
35
 
37
 
36
- fix "an inflate input buffer bug that shows up on rare but persistent
38
- ZFREE was repeated on same allocation on some error conditions.
37
  occasions" (Mark)
-
 
38
- fix gzread and gztell for concatenated .gz files (Didier Le Botlan)
39
  This creates a security problem described in
39
- fix gzseek(..., SEEK_SET) in write mode
40
  http://www.zlib.org/advisory-2002-03-11.txt
40
- fix crc check after a gzeek (Frank Faubert)
41
- Returned incorrect error (Z_MEM_ERROR) on some invalid data
41
- fix miniunzip when the last entry in a zip file is itself a zip file
42
- Avoid accesses before window for invalid distances with inflate window
42
  (J Lillge)
43
  less than 32K.
43
- add contrib/asm586 and contrib/asm686 (Brian Raiter)
44
- force windowBits > 8 to avoid a bug in the encoder for a window size
44
  See http://www.muppetlabs.com/~breadbox/software/assembly.html
-
 
45
- add support for Delphi 3 in contrib/delphi (Bob Dellaca)
45
  of 256 bytes. (A complete fix will be available in 1.1.5).
46
- add support for C++Builder 3 and Delphi 3 in contrib/delphi2 (Davide Moretti)
-
 
-
 
46
 
47
- do not exit prematurely in untgz if 0 at start of block (Magnus Holmgren)
47
The beta version 1.1.5beta includes many more changes. A new official
48
- use macro EXTERN instead of extern to support DLL for BeOS (Sander Stoks)
48
version 1.1.5 will be released as soon as extensive testing has been
49
- added a FAQ file
49
completed on it.
50
 
50
 
51
plus many changes for portability.
-
 
52
 
51
 
53
Unsupported third party contributions are provided in directory "contrib".
52
Unsupported third party contributions are provided in directory "contrib".
54
 
53
 
55
A Java implementation of zlib is available in the Java Development Kit 1.1
54
A Java implementation of zlib is available in the Java Development Kit
56
http://www.javasoft.com/products/JDK/1.1/docs/api/Package-java.util.zip.html
55
http://www.javasoft.com/products/JDK/1.1/docs/api/Package-java.util.zip.html
57
See the zlib home page http://www.cdrom.com/pub/infozip/zlib/ for details.
56
See the zlib home page http://www.zlib.org for details.
58
 
57
 
59
A Perl interface to zlib written by Paul Marquess <pmarquess@bfsec.bt.co.uk>
58
A Perl interface to zlib written by Paul Marquess <pmarquess@bfsec.bt.co.uk>
60
is in the CPAN (Comprehensive Perl Archive Network) sites, such as:
59
is in the CPAN (Comprehensive Perl Archive Network) sites
61
ftp://ftp.cis.ufl.edu/pub/perl/CPAN/modules/by-module/Compress/Compress-Zlib*
60
http://www.cpan.org/modules/by-module/Compress/
62
 
61
 
63
A Python interface to zlib written by A.M. Kuchling <amk@magnet.com>
62
A Python interface to zlib written by A.M. Kuchling <amk@magnet.com>
64
is available in Python 1.5 and later versions, see
63
is available in Python 1.5 and later versions, see
65
http://www.python.org/doc/lib/module-zlib.html
64
http://www.python.org/doc/lib/module-zlib.html
66
 
65
 
Line 115... Line 114...
115
  people who reported problems and suggested various improvements in zlib;
114
  people who reported problems and suggested various improvements in zlib;
116
  they are too numerous to cite here.
115
  they are too numerous to cite here.
117
 
116
 
118
Copyright notice:
117
Copyright notice:
119
 
118
 
120
 (C) 1995-1998 Jean-loup Gailly and Mark Adler
119
 (C) 1995-2002 Jean-loup Gailly and Mark Adler
121
 
120
 
122
  This software is provided 'as-is', without any express or implied
121
  This software is provided 'as-is', without any express or implied
123
  warranty.  In no event will the authors be held liable for any damages
122
  warranty.  In no event will the authors be held liable for any damages
124
  arising from the use of this software.
123
  arising from the use of this software.
125
 
124