Skip to content

Commit 0b16609

Browse files
committed
zlib 1.2.7.1
1 parent f81b79c commit 0b16609

16 files changed

+67
-20
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
/minigzip64
2222
/minigzipsh
2323
/zlib.pc
24+
25+
.DS_Store

ChangeLog

Lines changed: 47 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,53 @@
11

22
ChangeLog file for zlib
33

4-
Changes in 1.2.7.1 (xx May 2012)
5-
-
4+
Changes in 1.2.7.1 (24 Mar 2013)
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
651

752
Changes in 1.2.7 (2 May 2012)
853
- Replace use of memmove() with a simple copy for portability

deflate.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* 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
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

@@ -52,7 +52,7 @@
5252
#include "deflate.h"
5353

5454
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 ";
5656
/*
5757
If you use the zlib library in a product, an acknowledgment is welcome
5858
in the documentation of your product. If for some reason you cannot

gzguts.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* 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
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

gzlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* 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
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

gzread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* 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
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

gzwrite.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* 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
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

inffast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* inffast.c -- fast decoding
2-
* Copyright (C) 1995-2008, 2010 Mark Adler
2+
* Copyright (C) 1995-2008, 2010, 2013 Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

inftrees.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* inftrees.c -- generate Huffman trees for efficient decoding
2-
* Copyright (C) 1995-2012 Mark Adler
2+
* Copyright (C) 1995-2013 Mark Adler
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

@@ -9,7 +9,7 @@
99
#define MAXBITS 15
1010

1111
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 ";
1313
/*
1414
If you use the zlib library in a product, an acknowledgment is welcome
1515
in the documentation of your product. If for some reason you cannot

zconf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* zconf.h -- configuration of the zlib compression library
2-
* Copyright (C) 1995-2012 Jean-loup Gailly.
2+
* Copyright (C) 1995-2013 Jean-loup Gailly.
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

zconf.h.cmakein

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* zconf.h -- configuration of the zlib compression library
2-
* Copyright (C) 1995-2012 Jean-loup Gailly.
2+
* Copyright (C) 1995-2013 Jean-loup Gailly.
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

zconf.h.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* zconf.h -- configuration of the zlib compression library
2-
* Copyright (C) 1995-2012 Jean-loup Gailly.
2+
* Copyright (C) 1995-2013 Jean-loup Gailly.
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

zlib.3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.TH ZLIB 3 "xx May 2012"
1+
.TH ZLIB 3 "24 Mar 2012"
22
.SH NAME
33
zlib \- compression/decompression library
44
.SH SYNOPSIS
@@ -126,7 +126,7 @@ Send questions and/or comments to [email protected],
126126
or (for the Windows DLL version) to Gilles Vollant ([email protected]).
127127
.SH AUTHORS
128128
Version 1.2.7.1
129-
Copyright (C) 1995-2012 Jean-loup Gailly ([email protected])
129+
Copyright (C) 1995-2013 Jean-loup Gailly ([email protected])
130130
and Mark Adler ([email protected]).
131131
.LP
132132
This software is provided "as-is,"

zlib.3.pdf

-18 Bytes
Binary file not shown.

zlib.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* 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
33
4-
Copyright (C) 1995-2012 Jean-loup Gailly and Mark Adler
4+
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
55
66
This software is provided 'as-is', without any express or implied
77
warranty. In no event will the authors be held liable for any damages
@@ -37,7 +37,7 @@
3737
extern "C" {
3838
#endif
3939

40-
#define ZLIB_VERSION "1.2.7.1-motley"
40+
#define ZLIB_VERSION "1.2.7.1"
4141
#define ZLIB_VERNUM 0x1271
4242
#define ZLIB_VER_MAJOR 1
4343
#define ZLIB_VER_MINOR 2

zutil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* 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.
33
* For conditions of distribution and use, see copyright notice in zlib.h
44
*/
55

0 commit comments

Comments
 (0)