diff options
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | ChangeLog | 49 | ||||
| -rw-r--r-- | deflate.c | 4 | ||||
| -rw-r--r-- | gzguts.h | 2 | ||||
| -rw-r--r-- | gzlib.c | 2 | ||||
| -rw-r--r-- | gzread.c | 2 | ||||
| -rw-r--r-- | gzwrite.c | 2 | ||||
| -rw-r--r-- | inffast.c | 2 | ||||
| -rw-r--r-- | inftrees.c | 4 | ||||
| -rw-r--r-- | zconf.h | 2 | ||||
| -rw-r--r-- | zconf.h.cmakein | 2 | ||||
| -rw-r--r-- | zconf.h.in | 2 | ||||
| -rw-r--r-- | zlib.3 | 4 | ||||
| -rw-r--r-- | zlib.3.pdf | bin | 8748 -> 8730 bytes | |||
| -rw-r--r-- | zlib.h | 6 | ||||
| -rw-r--r-- | zutil.h | 2 |
16 files changed, 67 insertions, 20 deletions
| @@ -21,3 +21,5 @@ | |||
| 21 | /minigzip64 | 21 | /minigzip64 |
| 22 | /minigzipsh | 22 | /minigzipsh |
| 23 | /zlib.pc | 23 | /zlib.pc |
| 24 | |||
| 25 | .DS_Store | ||
| @@ -1,8 +1,53 @@ | |||
| 1 | 1 | ||
| 2 | ChangeLog file for zlib | 2 | ChangeLog file for zlib |
| 3 | 3 | ||
| 4 | Changes in 1.2.7.1 (xx May 2012) | 4 | Changes 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 | ||
| 7 | Changes in 1.2.7 (2 May 2012) | 52 | Changes 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 |
| @@ -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 | ||
| 54 | const char deflate_copyright[] = | 54 | const 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 |
| @@ -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 | ||
| @@ -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 | ||
| @@ -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 | ||
| @@ -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 | ||
| @@ -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 | ||
| @@ -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 | ||
| 11 | const char inflate_copyright[] = | 11 | const 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 |
| @@ -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 | ||
| @@ -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 | ||
| @@ -1,4 +1,4 @@ | |||
| 1 | .TH ZLIB 3 "xx May 2012" | 1 | .TH ZLIB 3 "24 Mar 2012" |
| 2 | .SH NAME | 2 | .SH NAME |
| 3 | zlib \- compression/decompression library | 3 | zlib \- compression/decompression library |
| 4 | .SH SYNOPSIS | 4 | .SH SYNOPSIS |
| @@ -126,7 +126,7 @@ Send questions and/or comments to zlib@gzip.org, | |||
| 126 | or (for the Windows DLL version) to Gilles Vollant (info@winimage.com). | 126 | or (for the Windows DLL version) to Gilles Vollant (info@winimage.com). |
| 127 | .SH AUTHORS | 127 | .SH AUTHORS |
| 128 | Version 1.2.7.1 | 128 | Version 1.2.7.1 |
| 129 | Copyright (C) 1995-2012 Jean-loup Gailly (jloup@gzip.org) | 129 | Copyright (C) 1995-2013 Jean-loup Gailly (jloup@gzip.org) |
| 130 | and Mark Adler (madler@alumni.caltech.edu). | 130 | and Mark Adler (madler@alumni.caltech.edu). |
| 131 | .LP | 131 | .LP |
| 132 | This software is provided "as-is," | 132 | This software is provided "as-is," |
| Binary files differ | |||
| @@ -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 @@ | |||
| 37 | extern "C" { | 37 | extern "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 |
| @@ -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 | ||
