Sync zlib sources with GCC, upgrading to 1.2.10.
authorNick Clifton <nickc@redhat.com>
Fri, 20 Jan 2017 10:17:42 +0000 (10:17 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 20 Jan 2017 10:17:42 +0000 (10:17 +0000)
commitde1ab01e8ebf04a3503d8450e6b924c7bb160853
treee5c91c036f0d1fcd2f1853908e98cffa1d8fa1f7
parent1737c64030af533c520dd1ed1ec2787302cdf830
Sync zlib sources with GCC, upgrading to 1.2.10.

Changes in 1.2.10 (2 Jan 2017)
- Avoid warnings on snprintf() return value
- Fix bug in deflate_stored() for zero-length input
- Fix bug in gzwrite.c that produced corrupt gzip files
- Remove files to be installed before copying them in Makefile.in
- Add warnings when compiling with assembler code

Changes in 1.2.9 (31 Dec 2016)
- Fix contrib/minizip to permit unzipping with desktop API [Zouzou]
- Improve contrib/blast to return unused bytes
- Assure that gzoffset() is correct when appending
- Improve compress() and uncompress() to support large lengths
- Fix bug in test/example.c where error code not saved
- Remedy Coverity warning [Randers-Pehrson]
- Improve speed of gzprintf() in transparent mode
- Fix inflateInit2() bug when windowBits is 16 or 32
- Change DEBUG macro to ZLIB_DEBUG
- Avoid uninitialized access by gzclose_w()
- Allow building zlib outside of the source directory
- Fix bug that accepted invalid zlib header when windowBits is zero
- Fix gzseek() problem on MinGW due to buggy _lseeki64 there
- Loop on write() calls in gzwrite.c in case of non-blocking I/O
- Add --warn (-w) option to ./configure for more compiler warnings
- Reject a window size of 256 bytes if not using the zlib wrapper
- Fix bug when level 0 used with Z_HUFFMAN or Z_RLE
- Add --debug (-d) option to ./configure to define ZLIB_DEBUG
- Fix bugs in creating a very large gzip header
- Add uncompress2() function, which returns the input size used
- Assure that deflateParams() will not switch functions mid-block
- Dramatically speed up deflation for level 0 (storing)
- Add gzfread(), duplicating the interface of fread()
- Add gzfwrite(), duplicating the interface of fwrite()
- Add deflateGetDictionary() function
- Use snprintf() for later versions of Microsoft C
- Fix *Init macros to use z_ prefix when requested
- Replace as400 with os400 for OS/400 support [Monnerat]
- Add crc32_z() and adler32_z() functions with size_t lengths
- Update Visual Studio project files [AraHaan]
98 files changed:
zlib/CMakeLists.txt
zlib/ChangeLog
zlib/ChangeLog.gcj
zlib/README
zlib/adler32.c
zlib/as400/bndsrc [deleted file]
zlib/as400/compile.clp [deleted file]
zlib/as400/readme.txt [deleted file]
zlib/as400/zlib.inc [deleted file]
zlib/compress.c
zlib/configure
zlib/configure.ac
zlib/contrib/README.contrib
zlib/contrib/ada/zlib-streams.ads
zlib/contrib/ada/zlib-thin.ads
zlib/contrib/blast/blast.c
zlib/contrib/blast/blast.h
zlib/contrib/delphi/ZLib.pas
zlib/contrib/dotzlib/DotZLib/UnitTests.cs
zlib/contrib/infback9/inftree9.c
zlib/contrib/minizip/configure.ac
zlib/contrib/minizip/iowin32.c
zlib/contrib/minizip/unzip.c
zlib/contrib/minizip/zip.c
zlib/contrib/pascal/zlibpas.pas
zlib/contrib/puff/puff.c
zlib/contrib/vstudio/readme.txt
zlib/contrib/vstudio/vc10/zlib.rc
zlib/contrib/vstudio/vc10/zlibvc.def
zlib/contrib/vstudio/vc11/zlib.rc
zlib/contrib/vstudio/vc11/zlibvc.def
zlib/contrib/vstudio/vc12/miniunz.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc12/minizip.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc12/testzlib.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc12/testzlibdll.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc12/zlib.rc [new file with mode: 0644]
zlib/contrib/vstudio/vc12/zlibstat.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc12/zlibvc.def [new file with mode: 0644]
zlib/contrib/vstudio/vc12/zlibvc.sln [new file with mode: 0644]
zlib/contrib/vstudio/vc12/zlibvc.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc14/miniunz.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc14/miniunz.vcxproj.user [new file with mode: 0644]
zlib/contrib/vstudio/vc14/minizip.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc14/minizip.vcxproj.user [new file with mode: 0644]
zlib/contrib/vstudio/vc14/testzlib.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc14/testzlib.vcxproj.user [new file with mode: 0644]
zlib/contrib/vstudio/vc14/testzlibdll.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc14/testzlibdll.vcxproj.user [new file with mode: 0644]
zlib/contrib/vstudio/vc14/zlib.rc [new file with mode: 0644]
zlib/contrib/vstudio/vc14/zlibstat.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc14/zlibstat.vcxproj.user [new file with mode: 0644]
zlib/contrib/vstudio/vc14/zlibvc.def [new file with mode: 0644]
zlib/contrib/vstudio/vc14/zlibvc.sln [new file with mode: 0644]
zlib/contrib/vstudio/vc14/zlibvc.vcxproj [new file with mode: 0644]
zlib/contrib/vstudio/vc14/zlibvc.vcxproj.user [new file with mode: 0644]
zlib/contrib/vstudio/vc9/zlib.rc
zlib/contrib/vstudio/vc9/zlibvc.def
zlib/crc32.c
zlib/deflate.c
zlib/deflate.h
zlib/examples/gun.c
zlib/examples/gzlog.c
zlib/examples/zran.c
zlib/gzguts.h
zlib/gzlib.c
zlib/gzread.c
zlib/gzwrite.c
zlib/infback.c
zlib/inffast.c
zlib/inflate.c
zlib/inflate.h
zlib/inftrees.c
zlib/msdos/Makefile.dj2
zlib/msdos/Makefile.emx
zlib/old/Makefile.emx
zlib/old/os2/Makefile.os2
zlib/os400/README400 [new file with mode: 0644]
zlib/os400/bndsrc [new file with mode: 0644]
zlib/os400/make.sh [new file with mode: 0644]
zlib/os400/zlib.inc [new file with mode: 0644]
zlib/qnx/package.qpg
zlib/test/example.c
zlib/test/infcover.c
zlib/test/minigzip.c
zlib/treebuild.xml
zlib/trees.c
zlib/uncompr.c
zlib/win32/Makefile.gcc
zlib/win32/README-WIN32.txt
zlib/win32/zlib.def
zlib/zconf.h
zlib/zconf.h.cmakein
zlib/zconf.h.in
zlib/zlib.3
zlib/zlib.h
zlib/zlib.map
zlib/zutil.c
zlib/zutil.h