]> git.lizzy.rs Git - zlib.git/commitdiff
zlib 1.2.10 v1.2.10
authorMark Adler <madler@alumni.caltech.edu>
Tue, 3 Jan 2017 01:53:59 +0000 (17:53 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Tue, 3 Jan 2017 02:21:29 +0000 (18:21 -0800)
25 files changed:
CMakeLists.txt
ChangeLog
Makefile.in
README
contrib/delphi/ZLib.pas
contrib/dotzlib/DotZLib/UnitTests.cs
contrib/infback9/inftree9.c
contrib/minizip/configure.ac
contrib/pascal/zlibpas.pas
contrib/vstudio/readme.txt
contrib/vstudio/vc10/zlib.rc
contrib/vstudio/vc11/zlib.rc
contrib/vstudio/vc12/zlib.rc
contrib/vstudio/vc14/zlib.rc
contrib/vstudio/vc9/zlib.rc
deflate.c
inftrees.c
os400/README400
os400/zlib.inc
qnx/package.qpg
treebuild.xml
win32/README-WIN32.txt
zlib.3
zlib.3.pdf
zlib.h

index 659afa9146490468d1a2947f1cdd759644eeaf1a..1a954a640388ff9579b3250c86db6dc436ef687e 100644 (file)
@@ -3,7 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
 
 project(zlib C)
 
-set(VERSION "1.2.9.1")
+set(VERSION "1.2.10")
 
 option(ASM686 "Enable building i686 assembly implementation")
 option(AMD64 "Enable building amd64 assembly implementation")
index 758485194728abf996d9ff386faadbba239685ee..fed9adb52774411aea00a8f388974624579e9e21 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,12 @@
 
                 ChangeLog file for zlib
 
-Changes in 1.2.9.1 (xx Jan 2017)
-- 
+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]
index 3f80985b9a6a883659a6a487e1f0c678432affb5..1852192546a1ca0eab3f0da43052b89aed5c82d2 100644 (file)
@@ -32,7 +32,7 @@ CPP=$(CC) -E
 
 STATICLIB=libz.a
 SHAREDLIB=libz.so
-SHAREDLIBV=libz.so.1.2.9.1
+SHAREDLIBV=libz.so.1.2.10
 SHAREDLIBM=libz.so.1
 LIBS=$(STATICLIB) $(SHAREDLIBV)
 
diff --git a/README b/README
index 6610335790927e2e13dd7554f82650f34d1f8c17..e2250bdbc2c93813dbe371ad1196f26f9d42e9e7 100644 (file)
--- a/README
+++ b/README
@@ -1,6 +1,6 @@
 ZLIB DATA COMPRESSION LIBRARY
 
-zlib 1.2.9.1 is a general purpose data compression library.  All the code is
+zlib 1.2.10 is a general purpose data compression library.  All the code is
 thread safe.  The data format used by the zlib library is described by RFCs
 (Request for Comments) 1950 to 1952 in the files
 http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and
@@ -31,7 +31,7 @@ Mark Nelson <markn@ieee.org> wrote an article about zlib for the Jan.  1997
 issue of Dr.  Dobb's Journal; a copy of the article is available at
 http://marknelson.us/1997/01/01/zlib-engine/ .
 
-The changes made in version 1.2.9.1 are documented in the file ChangeLog.
+The changes made in version 1.2.10 are documented in the file ChangeLog.
 
 Unsupported third party contributions are provided in directory contrib/ .
 
index 4c654cf0b56ad10d806fae9b1971fe3747339ec1..e9d72f021da16a18e9dc57e28a4fb4ff296ca1ba 100644 (file)
@@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
   const OutBuf: Pointer; BufSize: Integer);
 
 const
-  zlib_version = '1.2.9.1';
+  zlib_version = '1.2.10';
 
 type
   EZlibError = class(Exception);
index f22a8ded8dc2e7706d2ca09cbeca07bce6741f4c..a0e39857cc8ba6a5f4e3134ea6345b19d0f577f5 100644 (file)
@@ -156,7 +156,7 @@ namespace DotZLibTests
         public void Info_Version()\r
         {\r
             Info info = new Info();\r
-            Assert.AreEqual("1.2.9.1", Info.Version);\r
+            Assert.AreEqual("1.2.10", Info.Version);\r
             Assert.AreEqual(32, info.SizeOfUInt);\r
             Assert.AreEqual(32, info.SizeOfULong);\r
             Assert.AreEqual(32, info.SizeOfPointer);\r
index 97f330beb74a6cf86998e1e7d89dd6d3872c7761..ea5604731a79e950b19ba2d5fb2b0cdda5ffc2ec 100644 (file)
@@ -9,7 +9,7 @@
 #define MAXBITS 15
 
 const char inflate9_copyright[] =
-   " inflate9 1.2.9.1 Copyright 1995-2017 Mark Adler ";
+   " inflate9 1.2.10 Copyright 1995-2017 Mark Adler ";
 /*
   If you use the zlib library in a product, an acknowledgment is welcome
   in the documentation of your product. If for some reason you cannot
@@ -64,7 +64,7 @@ unsigned short FAR *work;
     static const unsigned short lext[31] = { /* Length codes 257..285 extra */
         128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
         130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
-        133, 133, 133, 133, 144, 203, 201};
+        133, 133, 133, 133, 144, 192, 202};
     static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
         1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
         65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,
index 6496d7129606d8fce9acbf5ba9de99c451239739..bbb2283a7d70eee6df54424e90705301cc517066 100644 (file)
@@ -1,7 +1,7 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
-AC_INIT([minizip], [1.2.9.1], [bugzilla.redhat.com])
+AC_INIT([minizip], [1.2.10], [bugzilla.redhat.com])
 AC_CONFIG_SRCDIR([minizip.c])
 AM_INIT_AUTOMAKE([foreign])
 LT_INIT
index 0ae6d757933cd8bc2396d7d9351482367e7ac247..2330898c418dbb18a2ee02a60c0539f3237ecb60 100644 (file)
@@ -10,8 +10,8 @@ unit zlibpas;
 interface
 
 const
-  ZLIB_VERSION = '1.2.9.1';
-  ZLIB_VERNUM  = $1291;
+  ZLIB_VERSION = '1.2.10';
+  ZLIB_VERNUM  = $12a0;
 
 type
   alloc_func = function(opaque: Pointer; items, size: Integer): Pointer;
index 439d59527a5a38f3c4b9ec656d8fa597a083246c..98d8a05a5b411834aba6bc58cdca2556b643d042 100644 (file)
@@ -1,4 +1,4 @@
-Building instructions for the DLL versions of Zlib 1.2.9.1\r
+Building instructions for the DLL versions of Zlib 1.2.10\r
 ========================================================\r
 \r
 This directory contains projects that build zlib and minizip using\r
index a947595cd4df5a6b6f5a991cf933225565404058..f1c19bcec08be863665d664398b2abe814ae64ed 100644 (file)
@@ -2,8 +2,8 @@
 \r
 #define IDR_VERSION1  1\r
 IDR_VERSION1   VERSIONINFO     MOVEABLE IMPURE LOADONCALL DISCARDABLE\r
-  FILEVERSION   1, 2, 9, 1\r
-  PRODUCTVERSION 1, 2, 9, 1\r
+  FILEVERSION   1, 2, 10, 0\r
+  PRODUCTVERSION 1, 2, 10, 0\r
   FILEFLAGSMASK        VS_FFI_FILEFLAGSMASK\r
   FILEFLAGS    0\r
   FILEOS       VOS_DOS_WINDOWS32\r
@@ -17,7 +17,7 @@ BEGIN
 \r
     BEGIN\r
       VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"\r
-      VALUE "FileVersion",     "1.2.9.1\0"\r
+      VALUE "FileVersion",     "1.2.10\0"\r
       VALUE "InternalName",    "zlib\0"\r
       VALUE "OriginalFilename",        "zlibwapi.dll\0"\r
       VALUE "ProductName",     "ZLib.DLL\0"\r
index a947595cd4df5a6b6f5a991cf933225565404058..f1c19bcec08be863665d664398b2abe814ae64ed 100644 (file)
@@ -2,8 +2,8 @@
 \r
 #define IDR_VERSION1  1\r
 IDR_VERSION1   VERSIONINFO     MOVEABLE IMPURE LOADONCALL DISCARDABLE\r
-  FILEVERSION   1, 2, 9, 1\r
-  PRODUCTVERSION 1, 2, 9, 1\r
+  FILEVERSION   1, 2, 10, 0\r
+  PRODUCTVERSION 1, 2, 10, 0\r
   FILEFLAGSMASK        VS_FFI_FILEFLAGSMASK\r
   FILEFLAGS    0\r
   FILEOS       VOS_DOS_WINDOWS32\r
@@ -17,7 +17,7 @@ BEGIN
 \r
     BEGIN\r
       VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"\r
-      VALUE "FileVersion",     "1.2.9.1\0"\r
+      VALUE "FileVersion",     "1.2.10\0"\r
       VALUE "InternalName",    "zlib\0"\r
       VALUE "OriginalFilename",        "zlibwapi.dll\0"\r
       VALUE "ProductName",     "ZLib.DLL\0"\r
index e7c1d65dd9ca4ed6317e6cab0a1fd4cbd9ea03de..ef3829898b6d2a9434447c330d90d62415996676 100644 (file)
@@ -2,8 +2,8 @@
 
 #define IDR_VERSION1  1
 IDR_VERSION1   VERSIONINFO     MOVEABLE IMPURE LOADONCALL DISCARDABLE
-  FILEVERSION   1, 2, 9, 1
-  PRODUCTVERSION 1, 2, 9, 1
+  FILEVERSION   1, 2, 10, 0
+  PRODUCTVERSION 1, 2, 10, 0
   FILEFLAGSMASK        VS_FFI_FILEFLAGSMASK
   FILEFLAGS    0
   FILEOS       VOS_DOS_WINDOWS32
@@ -17,7 +17,7 @@ BEGIN
 
     BEGIN
       VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
-      VALUE "FileVersion",     "1.2.9.1\0"
+      VALUE "FileVersion",     "1.2.10\0"
       VALUE "InternalName",    "zlib\0"
       VALUE "OriginalFilename",        "zlibwapi.dll\0"
       VALUE "ProductName",     "ZLib.DLL\0"
index e7c1d65dd9ca4ed6317e6cab0a1fd4cbd9ea03de..ef3829898b6d2a9434447c330d90d62415996676 100644 (file)
@@ -2,8 +2,8 @@
 
 #define IDR_VERSION1  1
 IDR_VERSION1   VERSIONINFO     MOVEABLE IMPURE LOADONCALL DISCARDABLE
-  FILEVERSION   1, 2, 9, 1
-  PRODUCTVERSION 1, 2, 9, 1
+  FILEVERSION   1, 2, 10, 0
+  PRODUCTVERSION 1, 2, 10, 0
   FILEFLAGSMASK        VS_FFI_FILEFLAGSMASK
   FILEFLAGS    0
   FILEOS       VOS_DOS_WINDOWS32
@@ -17,7 +17,7 @@ BEGIN
 
     BEGIN
       VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
-      VALUE "FileVersion",     "1.2.9.1\0"
+      VALUE "FileVersion",     "1.2.10\0"
       VALUE "InternalName",    "zlib\0"
       VALUE "OriginalFilename",        "zlibwapi.dll\0"
       VALUE "ProductName",     "ZLib.DLL\0"
index a947595cd4df5a6b6f5a991cf933225565404058..f1c19bcec08be863665d664398b2abe814ae64ed 100644 (file)
@@ -2,8 +2,8 @@
 \r
 #define IDR_VERSION1  1\r
 IDR_VERSION1   VERSIONINFO     MOVEABLE IMPURE LOADONCALL DISCARDABLE\r
-  FILEVERSION   1, 2, 9, 1\r
-  PRODUCTVERSION 1, 2, 9, 1\r
+  FILEVERSION   1, 2, 10, 0\r
+  PRODUCTVERSION 1, 2, 10, 0\r
   FILEFLAGSMASK        VS_FFI_FILEFLAGSMASK\r
   FILEFLAGS    0\r
   FILEOS       VOS_DOS_WINDOWS32\r
@@ -17,7 +17,7 @@ BEGIN
 \r
     BEGIN\r
       VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"\r
-      VALUE "FileVersion",     "1.2.9.1\0"\r
+      VALUE "FileVersion",     "1.2.10\0"\r
       VALUE "InternalName",    "zlib\0"\r
       VALUE "OriginalFilename",        "zlibwapi.dll\0"\r
       VALUE "ProductName",     "ZLib.DLL\0"\r
index 9161f296a4639ce8a7b4852a8cc203b59f3c5208..2ad890e35475ba8eed48fd4e3a27cb8dc0a97276 100644 (file)
--- a/deflate.c
+++ b/deflate.c
@@ -52,7 +52,7 @@
 #include "deflate.h"
 
 const char deflate_copyright[] =
-   " deflate 1.2.9.1 Copyright 1995-2017 Jean-loup Gailly and Mark Adler ";
+   " deflate 1.2.10 Copyright 1995-2017 Jean-loup Gailly and Mark Adler ";
 /*
   If you use the zlib library in a product, an acknowledgment is welcome
   in the documentation of your product. If for some reason you cannot
index 2e8514af416a6ec792ead76589de4e45fd93c514..8a904ddbcef1f0b724d34916a87fc3497a77379b 100644 (file)
@@ -9,7 +9,7 @@
 #define MAXBITS 15
 
 const char inflate_copyright[] =
-   " inflate 1.2.9.1 Copyright 1995-2017 Mark Adler ";
+   " inflate 1.2.10 Copyright 1995-2017 Mark Adler ";
 /*
   If you use the zlib library in a product, an acknowledgment is welcome
   in the documentation of your product. If for some reason you cannot
@@ -62,7 +62,7 @@ unsigned short FAR *work;
         35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
     static const unsigned short lext[31] = { /* Length codes 257..285 extra */
         16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,
-        19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 203, 201};
+        19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 192, 202};
     static const unsigned short dbase[32] = { /* Distance codes 0..29 base */
         1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
         257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
index 7f10a3b23d0a3bb011fc455eee91a07da9e44383..28dca8cd14a9ca8ab97f5cb62903e78ccab2248f 100644 (file)
@@ -1,4 +1,4 @@
-        ZLIB version 1.2.9.1 for OS/400 installation instructions
+        ZLIB version 1.2.10 for OS/400 installation instructions
 
 1) Download and unpack the zlib tarball to some IFS directory.
    (i.e.: /path/to/the/zlib/ifs/source/directory)
index cdc2f72cf8b1ed37f0d295f990dbacc3fd1431f5..a2147dd0abe04560f2413fb6cc1e1eb812a55a73 100644 (file)
@@ -1,7 +1,7 @@
       *  ZLIB.INC - Interface to the general purpose compression library
       *
       *  ILE RPG400 version by Patrick Monnerat, DATASPHERE.
-      *  Version 1.2.9.1
+      *  Version 1.2.10
       *
       *
       *  WARNING:
       *
       *  Versioning information.
       *
-     D ZLIB_VERSION    C                   '1.2.9.1'
-     D ZLIB_VERNUM     C                   X'1291'
+     D ZLIB_VERSION    C                   '1.2.10'
+     D ZLIB_VERNUM     C                   X'12a0'
      D ZLIB_VER_MAJOR  C                   1
      D ZLIB_VER_MINOR  C                   2
      D ZLIB_VER_REVISION...
-     D                 C                   9
+     D                 C                   10
      D ZLIB_VER_SUBREVISION...
-     D                 C                   1
+     D                 C                   0
       *
       *  Other equates.
       *
index d95eb0364d45361ce5b39afcb021889eb3352efa..d9a1229e96efc6ef9a5c75d78f4ad1692fa979ee 100644 (file)
       <QPG:Files>
          <QPG:Add file="../zconf.h" install="/opt/include/" user="root:sys" permission="644"/>
          <QPG:Add file="../zlib.h" install="/opt/include/" user="root:sys" permission="644"/>
-         <QPG:Add file="../libz.so.1.2.9.1" install="/opt/lib/" user="root:bin" permission="644"/>
-         <QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.9.1"/>
-         <QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.9.1"/>
-         <QPG:Add file="../libz.so.1.2.9.1" install="/opt/lib/" component="slib"/>
+         <QPG:Add file="../libz.so.1.2.10" install="/opt/lib/" user="root:bin" permission="644"/>
+         <QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.10"/>
+         <QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.10"/>
+         <QPG:Add file="../libz.so.1.2.10" install="/opt/lib/" component="slib"/>
       </QPG:Files>
 
       <QPG:PackageFilter>
@@ -63,7 +63,7 @@
             </QPM:ProductDescription>
 
             <QPM:ReleaseDescription>
-               <QPM:ReleaseVersion>1.2.9.1</QPM:ReleaseVersion>
+               <QPM:ReleaseVersion>1.2.10</QPM:ReleaseVersion>
                <QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency>
                <QPM:ReleaseStability>Stable</QPM:ReleaseStability>
                <QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor>
index 001d15e293147e910852d2f7d7c5947eee7ddedc..a530cc075cb1f42ee2dccd155be28cc86c58b4a4 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" ?>
-<package name="zlib" version="1.2.9.1">
-    <library name="zlib" dlversion="1.2.9.1" dlname="z">
+<package name="zlib" version="1.2.10">
+    <library name="zlib" dlversion="1.2.10" dlname="z">
        <property name="description"> zip compression library </property>
        <property name="include-target-dir" value="$(@PACKAGE/install-includedir)" />
 
index 592b215bff898eb36ef1c3e9048946c26f7212c8..16adcca5d1b0696e27fe5ce737f6272ec089ed42 100644 (file)
@@ -1,6 +1,6 @@
 ZLIB DATA COMPRESSION LIBRARY
 
-zlib 1.2.9.1 is a general purpose data compression library.  All the code is
+zlib 1.2.10 is a general purpose data compression library.  All the code is
 thread safe.  The data format used by the zlib library is described by RFCs
 (Request for Comments) 1950 to 1952 in the files
 http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
@@ -22,7 +22,7 @@ before asking for help.
 
 Manifest:
 
-The package zlib-1.2.9.1-win32-x86.zip will contain the following files:
+The package zlib-1.2.10-win32-x86.zip will contain the following files:
 
   README-WIN32.txt This document
   ChangeLog        Changes since previous zlib packages
diff --git a/zlib.3 b/zlib.3
index 20c64b571fe93d30b52f6d1619b05c01c2eb17e7..00dc06119b10744a59fa37da542e43f10c11538f 100644 (file)
--- a/zlib.3
+++ b/zlib.3
@@ -1,4 +1,4 @@
-.TH ZLIB 3 "xx Jan 2017"
+.TH ZLIB 3 "2 Jan 2017"
 .SH NAME
 zlib \- compression/decompression library
 .SH SYNOPSIS
@@ -105,7 +105,7 @@ before asking for help.
 Send questions and/or comments to zlib@gzip.org,
 or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
 .SH AUTHORS AND LICENSE
-Version 1.2.9.1
+Version 1.2.10
 .LP
 Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
 .LP
index 141466ac162b86f3b85d917741f8762c204978e6..20008cd71397f40bf983f2923b6313117e085178 100644 (file)
Binary files a/zlib.3.pdf and b/zlib.3.pdf differ
diff --git a/zlib.h b/zlib.h
index 263e6f6304a2c0d74f48ce1c4ffdde529cdcb205..dc90dc8d22b1db91326ec7ac13d52136ff4dedd7 100644 (file)
--- a/zlib.h
+++ b/zlib.h
@@ -1,5 +1,5 @@
 /* zlib.h -- interface of the 'zlib' general purpose compression library
-  version 1.2.9.1, January xxth, 2017
+  version 1.2.10, January 2nd, 2017
 
   Copyright (C) 1995-2017 Jean-loup Gailly and Mark Adler
 
 extern "C" {
 #endif
 
-#define ZLIB_VERSION "1.2.9.1-motley"
-#define ZLIB_VERNUM 0x1291
+#define ZLIB_VERSION "1.2.10"
+#define ZLIB_VERNUM 0x12a0
 #define ZLIB_VER_MAJOR 1
 #define ZLIB_VER_MINOR 2
-#define ZLIB_VER_REVISION 9
-#define ZLIB_VER_SUBREVISION 1
+#define ZLIB_VER_REVISION 10
+#define ZLIB_VER_SUBREVISION 0
 
 /*
     The 'zlib' compression library provides in-memory compression and