summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2013-03-24 22:46:40 -0700
committerMark Adler <madler@alumni.caltech.edu>2013-03-24 22:47:59 -0700
commit0b166094092efa2b92200cbb67f390e86c181ab4 (patch)
tree32561580c6684415ddf702b9c956d6c704fb19d2
parentf81b79c55998a0b7551c129ac379df5839d0949b (diff)
downloadzlib-0b166094092efa2b92200cbb67f390e86c181ab4.tar.gz
zlib-0b166094092efa2b92200cbb67f390e86c181ab4.tar.bz2
zlib-0b166094092efa2b92200cbb67f390e86c181ab4.zip
zlib 1.2.7.1v1.2.7.1
-rw-r--r--.gitignore2
-rw-r--r--ChangeLog49
-rw-r--r--deflate.c4
-rw-r--r--gzguts.h2
-rw-r--r--gzlib.c2
-rw-r--r--gzread.c2
-rw-r--r--gzwrite.c2
-rw-r--r--inffast.c2
-rw-r--r--inftrees.c4
-rw-r--r--zconf.h2
-rw-r--r--zconf.h.cmakein2
-rw-r--r--zconf.h.in2
-rw-r--r--zlib.34
-rw-r--r--zlib.3.pdfbin8748 -> 8730 bytes
-rw-r--r--zlib.h6
-rw-r--r--zutil.h2
16 files changed, 67 insertions, 20 deletions
diff --git a/.gitignore b/.gitignore
index 8c6bce0..608ef9e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,3 +21,5 @@
21/minigzip64 21/minigzip64
22/minigzipsh 22/minigzipsh
23/zlib.pc 23/zlib.pc
24
25.DS_Store
diff --git a/ChangeLog b/ChangeLog
index 5e1c4ce..cedc53a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,53 @@
1 1
2 ChangeLog file for zlib 2 ChangeLog file for zlib
3 3
4Changes in 1.2.7.1 (xx May 2012) 4Changes in 1.2.7.1 (24 Mar 2013)
5- 5- Replace use of unsafe string functions with snprintf if available
6- Avoid including stddef.h on Windows for Z_SOLO compile [Niessink]
7- Fix gzgetc undefine when Z_PREFIX set [Turk]
8- Eliminate use of mktemp in Makefile (not always available)
9- Fix bug in 'F' mode for gzopen()
10- Add inflateGetDictionary() function
11- Correct comment in deflate.h
12- Use _snprintf for snprintf in Microsoft C
13- On Darwin, only use /usr/bin/libtool if libtool is not Apple
14- Delete "--version" file if created by "ar --version" [Richard G.]
15- Fix configure check for veracity of compiler error return codes
16- Fix CMake compilation of static lib for MSVC2010 x64
17- Remove unused variable in infback9.c
18- Fix argument checks in gzlog_compress() and gzlog_write()
19- Clean up the usage of z_const and respect const usage within zlib
20- Clean up examples/gzlog.[ch] comparisons of different types
21- Avoid shift equal to bits in type (caused endless loop)
22- Fix unintialized value bug in gzputc() introduced by const patches
23- Fix memory allocation error in examples/zran.c [Nor]
24- Fix bug where gzopen(), gzclose() would write an empty file
25- Fix bug in gzclose() when gzwrite() runs out of memory
26- Check for input buffer malloc failure in examples/gzappend.c
27- Add note to contrib/blast to use binary mode in stdio
28- Fix comparisons of differently signed integers in contrib/blast
29- Check for invalid code length codes in contrib/puff
30- Fix serious but very rare decompression bug in inftrees.c
31- Update inflateBack() comments, since inflate() can be faster
32- Use underscored I/O function names for WINAPI_FAMILY
33- Add _tr_flush_bits to the external symbols prefixed by --zprefix
34- Add contrib/vstudio/vc10 pre-build step for static only
35- Quote --version-script argument in CMakeLists.txt
36- Don't specify --version-script on Apple platforms in CMakeLists.txt
37- Fix casting error in contrib/testzlib/testzlib.c
38- Fix types in contrib/minizip to match result of get_crc_table()
39- Simplify contrib/vstudio/vc10 with 'd' suffix
40- Add TOP support to win32/Makefile.msc
41- Suport i686 and amd64 assembler builds in CMakeLists.txt
42- Fix typos in the use of _LARGEFILE64_SOURCE in zconf.h
43- Add vc11 and vc12 build files to contrib/vstudio
44- Add gzvprintf() as an undocumented function in zlib
45- Fix configure for Sun shell
46- Remove runtime check in configure for four-byte integer type
47- Add casts and consts to ease user conversion to C++
48- Add man pages for minizip and miniunzip
49- In Makefile uninstall, don't rm if preceding cd fails
50- Do not return Z_BUF_ERROR if deflateParam() has nothing to write
6 51
7Changes in 1.2.7 (2 May 2012) 52Changes in 1.2.7 (2 May 2012)
8- Replace use of memmove() with a simple copy for portability 53- Replace use of memmove() with a simple copy for portability
diff --git a/deflate.c b/deflate.c
index a942e25..65d9101 100644
--- a/deflate.c
+++ b/deflate.c
@@ -1,5 +1,5 @@
1/* deflate.c -- compress data using the deflation algorithm 1/* deflate.c -- compress data using the deflation algorithm
2 * Copyright (C) 1995-2012 Jean-loup Gailly and Mark Adler 2 * Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
@@ -52,7 +52,7 @@
52#include "deflate.h" 52#include "deflate.h"
53 53
54const char deflate_copyright[] = 54const char deflate_copyright[] =
55 " deflate 1.2.7.1 Copyright 1995-2012 Jean-loup Gailly and Mark Adler "; 55 " deflate 1.2.7.1 Copyright 1995-2013 Jean-loup Gailly and Mark Adler ";
56/* 56/*
57 If you use the zlib library in a product, an acknowledgment is welcome 57 If you use the zlib library in a product, an acknowledgment is welcome
58 in the documentation of your product. If for some reason you cannot 58 in the documentation of your product. If for some reason you cannot
diff --git a/gzguts.h b/gzguts.h
index 7048f41..c22814d 100644
--- a/gzguts.h
+++ b/gzguts.h
@@ -1,5 +1,5 @@
1/* gzguts.h -- zlib internal header definitions for gz* operations 1/* gzguts.h -- zlib internal header definitions for gz* operations
2 * Copyright (C) 2004, 2005, 2010, 2011, 2012 Mark Adler 2 * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
diff --git a/gzlib.c b/gzlib.c
index 0500d6c..fae202e 100644
--- a/gzlib.c
+++ b/gzlib.c
@@ -1,5 +1,5 @@
1/* gzlib.c -- zlib functions common to reading and writing gzip files 1/* gzlib.c -- zlib functions common to reading and writing gzip files
2 * Copyright (C) 2004, 2010, 2011, 2012 Mark Adler 2 * Copyright (C) 2004, 2010, 2011, 2012, 2013 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
diff --git a/gzread.c b/gzread.c
index 3b497cf..bf4538e 100644
--- a/gzread.c
+++ b/gzread.c
@@ -1,5 +1,5 @@
1/* gzread.c -- zlib functions for reading gzip files 1/* gzread.c -- zlib functions for reading gzip files
2 * Copyright (C) 2004, 2005, 2010, 2011, 2012 Mark Adler 2 * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
diff --git a/gzwrite.c b/gzwrite.c
index e8c5efd..3729a29 100644
--- a/gzwrite.c
+++ b/gzwrite.c
@@ -1,5 +1,5 @@
1/* gzwrite.c -- zlib functions for writing gzip files 1/* gzwrite.c -- zlib functions for writing gzip files
2 * Copyright (C) 2004, 2005, 2010, 2011, 2012 Mark Adler 2 * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
diff --git a/inffast.c b/inffast.c
index dbb275f..bda59ce 100644
--- a/inffast.c
+++ b/inffast.c
@@ -1,5 +1,5 @@
1/* inffast.c -- fast decoding 1/* inffast.c -- fast decoding
2 * Copyright (C) 1995-2008, 2010 Mark Adler 2 * Copyright (C) 1995-2008, 2010, 2013 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
diff --git a/inftrees.c b/inftrees.c
index 3781399..9ed56c7 100644
--- a/inftrees.c
+++ b/inftrees.c
@@ -1,5 +1,5 @@
1/* inftrees.c -- generate Huffman trees for efficient decoding 1/* inftrees.c -- generate Huffman trees for efficient decoding
2 * Copyright (C) 1995-2012 Mark Adler 2 * Copyright (C) 1995-2013 Mark Adler
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
@@ -9,7 +9,7 @@
9#define MAXBITS 15 9#define MAXBITS 15
10 10
11const char inflate_copyright[] = 11const char inflate_copyright[] =
12 " inflate 1.2.7.1 Copyright 1995-2012 Mark Adler "; 12 " inflate 1.2.7.1 Copyright 1995-2013 Mark Adler ";
13/* 13/*
14 If you use the zlib library in a product, an acknowledgment is welcome 14 If you use the zlib library in a product, an acknowledgment is welcome
15 in the documentation of your product. If for some reason you cannot 15 in the documentation of your product. If for some reason you cannot
diff --git a/zconf.h b/zconf.h
index aed84f2..80de2ce 100644
--- a/zconf.h
+++ b/zconf.h
@@ -1,5 +1,5 @@
1/* zconf.h -- configuration of the zlib compression library 1/* zconf.h -- configuration of the zlib compression library
2 * Copyright (C) 1995-2012 Jean-loup Gailly. 2 * Copyright (C) 1995-2013 Jean-loup Gailly.
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
diff --git a/zconf.h.cmakein b/zconf.h.cmakein
index 543ad46..a02281a 100644
--- a/zconf.h.cmakein
+++ b/zconf.h.cmakein
@@ -1,5 +1,5 @@
1/* zconf.h -- configuration of the zlib compression library 1/* zconf.h -- configuration of the zlib compression library
2 * Copyright (C) 1995-2012 Jean-loup Gailly. 2 * Copyright (C) 1995-2013 Jean-loup Gailly.
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
diff --git a/zconf.h.in b/zconf.h.in
index aed84f2..80de2ce 100644
--- a/zconf.h.in
+++ b/zconf.h.in
@@ -1,5 +1,5 @@
1/* zconf.h -- configuration of the zlib compression library 1/* zconf.h -- configuration of the zlib compression library
2 * Copyright (C) 1995-2012 Jean-loup Gailly. 2 * Copyright (C) 1995-2013 Jean-loup Gailly.
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
diff --git a/zlib.3 b/zlib.3
index 36492e8..0df33de 100644
--- a/zlib.3
+++ b/zlib.3
@@ -1,4 +1,4 @@
1.TH ZLIB 3 "xx May 2012" 1.TH ZLIB 3 "24 Mar 2012"
2.SH NAME 2.SH NAME
3zlib \- compression/decompression library 3zlib \- compression/decompression library
4.SH SYNOPSIS 4.SH SYNOPSIS
@@ -126,7 +126,7 @@ Send questions and/or comments to zlib@gzip.org,
126or (for the Windows DLL version) to Gilles Vollant (info@winimage.com). 126or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
127.SH AUTHORS 127.SH AUTHORS
128Version 1.2.7.1 128Version 1.2.7.1
129Copyright (C) 1995-2012 Jean-loup Gailly (jloup@gzip.org) 129Copyright (C) 1995-2013 Jean-loup Gailly (jloup@gzip.org)
130and Mark Adler (madler@alumni.caltech.edu). 130and Mark Adler (madler@alumni.caltech.edu).
131.LP 131.LP
132This software is provided "as-is," 132This software is provided "as-is,"
diff --git a/zlib.3.pdf b/zlib.3.pdf
index b7dd3ee..3fc85b6 100644
--- a/zlib.3.pdf
+++ b/zlib.3.pdf
Binary files differ
diff --git a/zlib.h b/zlib.h
index 65eb625..cc5363d 100644
--- a/zlib.h
+++ b/zlib.h
@@ -1,7 +1,7 @@
1/* zlib.h -- interface of the 'zlib' general purpose compression library 1/* zlib.h -- interface of the 'zlib' general purpose compression library
2 version 1.2.7.1, May xxth, 2012 2 version 1.2.7.1, March 24th, 2013
3 3
4 Copyright (C) 1995-2012 Jean-loup Gailly and Mark Adler 4 Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
5 5
6 This software is provided 'as-is', without any express or implied 6 This software is provided 'as-is', without any express or implied
7 warranty. In no event will the authors be held liable for any damages 7 warranty. In no event will the authors be held liable for any damages
@@ -37,7 +37,7 @@
37extern "C" { 37extern "C" {
38#endif 38#endif
39 39
40#define ZLIB_VERSION "1.2.7.1-motley" 40#define ZLIB_VERSION "1.2.7.1"
41#define ZLIB_VERNUM 0x1271 41#define ZLIB_VERNUM 0x1271
42#define ZLIB_VER_MAJOR 1 42#define ZLIB_VER_MAJOR 1
43#define ZLIB_VER_MINOR 2 43#define ZLIB_VER_MINOR 2
diff --git a/zutil.h b/zutil.h
index 7340361..24ab06b 100644
--- a/zutil.h
+++ b/zutil.h
@@ -1,5 +1,5 @@
1/* zutil.h -- internal interface and configuration of the compression library 1/* zutil.h -- internal interface and configuration of the compression library
2 * Copyright (C) 1995-2012 Jean-loup Gailly. 2 * Copyright (C) 1995-2013 Jean-loup Gailly.
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5