zlib 1.2.9
This commit is contained in:
parent
14e3194e1e
commit
2fa463bacf
@ -3,7 +3,7 @@ set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
|
|||||||
|
|
||||||
project(zlib C)
|
project(zlib C)
|
||||||
|
|
||||||
set(VERSION "1.2.8.1")
|
set(VERSION "1.2.9")
|
||||||
|
|
||||||
option(ASM686 "Enable building i686 assembly implementation")
|
option(ASM686 "Enable building i686 assembly implementation")
|
||||||
option(AMD64 "Enable building amd64 assembly implementation")
|
option(AMD64 "Enable building amd64 assembly implementation")
|
||||||
|
33
ChangeLog
33
ChangeLog
@ -1,8 +1,37 @@
|
|||||||
|
|
||||||
ChangeLog file for zlib
|
ChangeLog file for zlib
|
||||||
|
|
||||||
Changes in 1.2.8.1 (xx May 2013)
|
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]
|
||||||
|
|
||||||
Changes in 1.2.8 (28 Apr 2013)
|
Changes in 1.2.8 (28 Apr 2013)
|
||||||
- Update contrib/minizip/iowin32.c for Windows RT [Vollant]
|
- Update contrib/minizip/iowin32.c for Windows RT [Vollant]
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# Makefile for zlib
|
# Makefile for zlib
|
||||||
# Copyright (C) 1995-2013 Jean-loup Gailly, Mark Adler
|
# Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
|
||||||
# For conditions of distribution and use, see copyright notice in zlib.h
|
# For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
|
|
||||||
# To compile and test, type:
|
# To compile and test, type:
|
||||||
@ -32,7 +32,7 @@ CPP=$(CC) -E
|
|||||||
|
|
||||||
STATICLIB=libz.a
|
STATICLIB=libz.a
|
||||||
SHAREDLIB=libz.so
|
SHAREDLIB=libz.so
|
||||||
SHAREDLIBV=libz.so.1.2.8.1
|
SHAREDLIBV=libz.so.1.2.9
|
||||||
SHAREDLIBM=libz.so.1
|
SHAREDLIBM=libz.so.1
|
||||||
LIBS=$(STATICLIB) $(SHAREDLIBV)
|
LIBS=$(STATICLIB) $(SHAREDLIBV)
|
||||||
|
|
||||||
|
6
README
6
README
@ -1,6 +1,6 @@
|
|||||||
ZLIB DATA COMPRESSION LIBRARY
|
ZLIB DATA COMPRESSION LIBRARY
|
||||||
|
|
||||||
zlib 1.2.8.1 is a general purpose data compression library. All the code is
|
zlib 1.2.9 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
|
thread safe. The data format used by the zlib library is described by RFCs
|
||||||
(Request for Comments) 1950 to 1952 in the files
|
(Request for Comments) 1950 to 1952 in the files
|
||||||
http://tools.ietf.org/html/rfc1950 (zlib format), rfc1951 (deflate format) and
|
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
|
issue of Dr. Dobb's Journal; a copy of the article is available at
|
||||||
http://marknelson.us/1997/01/01/zlib-engine/ .
|
http://marknelson.us/1997/01/01/zlib-engine/ .
|
||||||
|
|
||||||
The changes made in version 1.2.8.1 are documented in the file ChangeLog.
|
The changes made in version 1.2.9 are documented in the file ChangeLog.
|
||||||
|
|
||||||
Unsupported third party contributions are provided in directory contrib/ .
|
Unsupported third party contributions are provided in directory contrib/ .
|
||||||
|
|
||||||
@ -84,7 +84,7 @@ Acknowledgments:
|
|||||||
|
|
||||||
Copyright notice:
|
Copyright notice:
|
||||||
|
|
||||||
(C) 1995-2013 Jean-loup Gailly and Mark Adler
|
(C) 1995-2016 Jean-loup Gailly and Mark Adler
|
||||||
|
|
||||||
This software is provided 'as-is', without any express or implied
|
This software is provided 'as-is', without any express or implied
|
||||||
warranty. In no event will the authors be held liable for any damages
|
warranty. In no event will the authors be held liable for any damages
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* adler32.c -- compute the Adler-32 checksum of a data stream
|
/* adler32.c -- compute the Adler-32 checksum of a data stream
|
||||||
* Copyright (C) 1995-2011 Mark Adler
|
* Copyright (C) 1995-2011, 2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* compress.c -- compress a memory buffer
|
/* compress.c -- compress a memory buffer
|
||||||
* Copyright (C) 1995-2005, 2014 Jean-loup Gailly, Mark Adler
|
* Copyright (C) 1995-2005, 2014, 2016 Jean-loup Gailly, Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -152,7 +152,7 @@ procedure DecompressToUserBuf(const InBuf: Pointer; InBytes: Integer;
|
|||||||
const OutBuf: Pointer; BufSize: Integer);
|
const OutBuf: Pointer; BufSize: Integer);
|
||||||
|
|
||||||
const
|
const
|
||||||
zlib_version = '1.2.8.1';
|
zlib_version = '1.2.9';
|
||||||
|
|
||||||
type
|
type
|
||||||
EZlibError = class(Exception);
|
EZlibError = class(Exception);
|
||||||
|
@ -156,7 +156,7 @@ namespace DotZLibTests
|
|||||||
public void Info_Version()
|
public void Info_Version()
|
||||||
{
|
{
|
||||||
Info info = new Info();
|
Info info = new Info();
|
||||||
Assert.AreEqual("1.2.8.1", Info.Version);
|
Assert.AreEqual("1.2.9", Info.Version);
|
||||||
Assert.AreEqual(32, info.SizeOfUInt);
|
Assert.AreEqual(32, info.SizeOfUInt);
|
||||||
Assert.AreEqual(32, info.SizeOfULong);
|
Assert.AreEqual(32, info.SizeOfULong);
|
||||||
Assert.AreEqual(32, info.SizeOfPointer);
|
Assert.AreEqual(32, info.SizeOfPointer);
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* inftree9.c -- generate Huffman trees for efficient decoding
|
/* inftree9.c -- generate Huffman trees for efficient decoding
|
||||||
* Copyright (C) 1995-2013 Mark Adler
|
* Copyright (C) 1995-2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -9,7 +9,7 @@
|
|||||||
#define MAXBITS 15
|
#define MAXBITS 15
|
||||||
|
|
||||||
const char inflate9_copyright[] =
|
const char inflate9_copyright[] =
|
||||||
" inflate9 1.2.8.1 Copyright 1995-2013 Mark Adler ";
|
" inflate9 1.2.9 Copyright 1995-2016 Mark Adler ";
|
||||||
/*
|
/*
|
||||||
If you use the zlib library in a product, an acknowledgment is welcome
|
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
|
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 */
|
static const unsigned short lext[31] = { /* Length codes 257..285 extra */
|
||||||
128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
|
128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
|
||||||
130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
|
130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
|
||||||
133, 133, 133, 133, 144, 203, 198};
|
133, 133, 133, 133, 144, 192, 79};
|
||||||
static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
|
static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
|
||||||
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
|
1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
|
||||||
65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,
|
65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# -*- Autoconf -*-
|
# -*- Autoconf -*-
|
||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_INIT([minizip], [1.2.8.1], [bugzilla.redhat.com])
|
AC_INIT([minizip], [1.2.9], [bugzilla.redhat.com])
|
||||||
AC_CONFIG_SRCDIR([minizip.c])
|
AC_CONFIG_SRCDIR([minizip.c])
|
||||||
AM_INIT_AUTOMAKE([foreign])
|
AM_INIT_AUTOMAKE([foreign])
|
||||||
LT_INIT
|
LT_INIT
|
||||||
|
@ -10,8 +10,8 @@ unit zlibpas;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
const
|
const
|
||||||
ZLIB_VERSION = '1.2.8.1';
|
ZLIB_VERSION = '1.2.9';
|
||||||
ZLIB_VERNUM = $1281;
|
ZLIB_VERNUM = $1290;
|
||||||
|
|
||||||
type
|
type
|
||||||
alloc_func = function(opaque: Pointer; items, size: Integer): Pointer;
|
alloc_func = function(opaque: Pointer; items, size: Integer): Pointer;
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
Building instructions for the DLL versions of Zlib 1.2.8.1
|
Building instructions for the DLL versions of Zlib 1.2.9
|
||||||
========================================================
|
========================================================
|
||||||
|
|
||||||
This directory contains projects that build zlib and minizip using
|
This directory contains projects that build zlib and minizip using
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
#define IDR_VERSION1 1
|
#define IDR_VERSION1 1
|
||||||
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
||||||
FILEVERSION 1, 2, 8, 1
|
FILEVERSION 1, 2, 9, 0
|
||||||
PRODUCTVERSION 1, 2, 8, 1
|
PRODUCTVERSION 1, 2, 9, 0
|
||||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
||||||
FILEFLAGS 0
|
FILEFLAGS 0
|
||||||
FILEOS VOS_DOS_WINDOWS32
|
FILEOS VOS_DOS_WINDOWS32
|
||||||
@ -17,12 +17,12 @@ BEGIN
|
|||||||
|
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
|
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
|
||||||
VALUE "FileVersion", "1.2.8.1\0"
|
VALUE "FileVersion", "1.2.9\0"
|
||||||
VALUE "InternalName", "zlib\0"
|
VALUE "InternalName", "zlib\0"
|
||||||
VALUE "OriginalFilename", "zlibwapi.dll\0"
|
VALUE "OriginalFilename", "zlibwapi.dll\0"
|
||||||
VALUE "ProductName", "ZLib.DLL\0"
|
VALUE "ProductName", "ZLib.DLL\0"
|
||||||
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
|
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
|
||||||
VALUE "LegalCopyright", "(C) 1995-2013 Jean-loup Gailly & Mark Adler\0"
|
VALUE "LegalCopyright", "(C) 1995-2016 Jean-loup Gailly & Mark Adler\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
@ -141,3 +141,13 @@ EXPORTS
|
|||||||
; zlib1 v1.2.8 added:
|
; zlib1 v1.2.8 added:
|
||||||
inflateGetDictionary @166
|
inflateGetDictionary @166
|
||||||
gzvprintf @167
|
gzvprintf @167
|
||||||
|
|
||||||
|
; zlib1 v1.2.9 added:
|
||||||
|
inflateCodesUsed @168
|
||||||
|
inflateValidate @169
|
||||||
|
uncompress2 @170
|
||||||
|
gzfread @171
|
||||||
|
gzfwrite @172
|
||||||
|
deflateGetDictionary @173
|
||||||
|
adler32_z @174
|
||||||
|
crc32_z @175
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
#define IDR_VERSION1 1
|
#define IDR_VERSION1 1
|
||||||
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
||||||
FILEVERSION 1, 2, 8, 1
|
FILEVERSION 1, 2, 9, 0
|
||||||
PRODUCTVERSION 1, 2, 8, 1
|
PRODUCTVERSION 1, 2, 9, 0
|
||||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
||||||
FILEFLAGS 0
|
FILEFLAGS 0
|
||||||
FILEOS VOS_DOS_WINDOWS32
|
FILEOS VOS_DOS_WINDOWS32
|
||||||
@ -17,12 +17,12 @@ BEGIN
|
|||||||
|
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
|
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
|
||||||
VALUE "FileVersion", "1.2.8.1\0"
|
VALUE "FileVersion", "1.2.9\0"
|
||||||
VALUE "InternalName", "zlib\0"
|
VALUE "InternalName", "zlib\0"
|
||||||
VALUE "OriginalFilename", "zlibwapi.dll\0"
|
VALUE "OriginalFilename", "zlibwapi.dll\0"
|
||||||
VALUE "ProductName", "ZLib.DLL\0"
|
VALUE "ProductName", "ZLib.DLL\0"
|
||||||
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
|
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
|
||||||
VALUE "LegalCopyright", "(C) 1995-2013 Jean-loup Gailly & Mark Adler\0"
|
VALUE "LegalCopyright", "(C) 1995-2016 Jean-loup Gailly & Mark Adler\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
@ -141,3 +141,13 @@ EXPORTS
|
|||||||
; zlib1 v1.2.8 added:
|
; zlib1 v1.2.8 added:
|
||||||
inflateGetDictionary @166
|
inflateGetDictionary @166
|
||||||
gzvprintf @167
|
gzvprintf @167
|
||||||
|
|
||||||
|
; zlib1 v1.2.9 added:
|
||||||
|
inflateCodesUsed @168
|
||||||
|
inflateValidate @169
|
||||||
|
uncompress2 @170
|
||||||
|
gzfread @171
|
||||||
|
gzfwrite @172
|
||||||
|
deflateGetDictionary @173
|
||||||
|
adler32_z @174
|
||||||
|
crc32_z @175
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
#define IDR_VERSION1 1
|
#define IDR_VERSION1 1
|
||||||
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
||||||
FILEVERSION 1, 2, 8, 1
|
FILEVERSION 1, 2, 9, 0
|
||||||
PRODUCTVERSION 1, 2, 8, 1
|
PRODUCTVERSION 1, 2, 9, 0
|
||||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
||||||
FILEFLAGS 0
|
FILEFLAGS 0
|
||||||
FILEOS VOS_DOS_WINDOWS32
|
FILEOS VOS_DOS_WINDOWS32
|
||||||
|
@ -141,3 +141,13 @@ EXPORTS
|
|||||||
; zlib1 v1.2.8 added:
|
; zlib1 v1.2.8 added:
|
||||||
inflateGetDictionary @166
|
inflateGetDictionary @166
|
||||||
gzvprintf @167
|
gzvprintf @167
|
||||||
|
|
||||||
|
; zlib1 v1.2.9 added:
|
||||||
|
inflateCodesUsed @168
|
||||||
|
inflateValidate @169
|
||||||
|
uncompress2 @170
|
||||||
|
gzfread @171
|
||||||
|
gzfwrite @172
|
||||||
|
deflateGetDictionary @173
|
||||||
|
adler32_z @174
|
||||||
|
crc32_z @175
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
#define IDR_VERSION1 1
|
#define IDR_VERSION1 1
|
||||||
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
||||||
FILEVERSION 1, 2, 8, 1
|
FILEVERSION 1, 2, 9, 0
|
||||||
PRODUCTVERSION 1, 2, 8, 1
|
PRODUCTVERSION 1, 2, 9, 0
|
||||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
||||||
FILEFLAGS 0
|
FILEFLAGS 0
|
||||||
FILEOS VOS_DOS_WINDOWS32
|
FILEOS VOS_DOS_WINDOWS32
|
||||||
|
@ -141,3 +141,13 @@ EXPORTS
|
|||||||
; zlib1 v1.2.8 added:
|
; zlib1 v1.2.8 added:
|
||||||
inflateGetDictionary @166
|
inflateGetDictionary @166
|
||||||
gzvprintf @167
|
gzvprintf @167
|
||||||
|
|
||||||
|
; zlib1 v1.2.9 added:
|
||||||
|
inflateCodesUsed @168
|
||||||
|
inflateValidate @169
|
||||||
|
uncompress2 @170
|
||||||
|
gzfread @171
|
||||||
|
gzfwrite @172
|
||||||
|
deflateGetDictionary @173
|
||||||
|
adler32_z @174
|
||||||
|
crc32_z @175
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
#define IDR_VERSION1 1
|
#define IDR_VERSION1 1
|
||||||
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
IDR_VERSION1 VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
|
||||||
FILEVERSION 1, 2, 8, 1
|
FILEVERSION 1, 2, 9, 0
|
||||||
PRODUCTVERSION 1, 2, 8, 1
|
PRODUCTVERSION 1, 2, 9, 0
|
||||||
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
|
||||||
FILEFLAGS 0
|
FILEFLAGS 0
|
||||||
FILEOS VOS_DOS_WINDOWS32
|
FILEOS VOS_DOS_WINDOWS32
|
||||||
@ -17,12 +17,12 @@ BEGIN
|
|||||||
|
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
|
VALUE "FileDescription", "zlib data compression and ZIP file I/O library\0"
|
||||||
VALUE "FileVersion", "1.2.8.1\0"
|
VALUE "FileVersion", "1.2.9\0"
|
||||||
VALUE "InternalName", "zlib\0"
|
VALUE "InternalName", "zlib\0"
|
||||||
VALUE "OriginalFilename", "zlibwapi.dll\0"
|
VALUE "OriginalFilename", "zlibwapi.dll\0"
|
||||||
VALUE "ProductName", "ZLib.DLL\0"
|
VALUE "ProductName", "ZLib.DLL\0"
|
||||||
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
|
VALUE "Comments","DLL support by Alessandro Iacopetti & Gilles Vollant\0"
|
||||||
VALUE "LegalCopyright", "(C) 1995-2013 Jean-loup Gailly & Mark Adler\0"
|
VALUE "LegalCopyright", "(C) 1995-2016 Jean-loup Gailly & Mark Adler\0"
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
|
@ -141,3 +141,13 @@ EXPORTS
|
|||||||
; zlib1 v1.2.8 added:
|
; zlib1 v1.2.8 added:
|
||||||
inflateGetDictionary @166
|
inflateGetDictionary @166
|
||||||
gzvprintf @167
|
gzvprintf @167
|
||||||
|
|
||||||
|
; zlib1 v1.2.9 added:
|
||||||
|
inflateCodesUsed @168
|
||||||
|
inflateValidate @169
|
||||||
|
uncompress2 @170
|
||||||
|
gzfread @171
|
||||||
|
gzfwrite @172
|
||||||
|
deflateGetDictionary @173
|
||||||
|
adler32_z @174
|
||||||
|
crc32_z @175
|
||||||
|
2
crc32.c
2
crc32.c
@ -1,5 +1,5 @@
|
|||||||
/* crc32.c -- compute the CRC-32 of a data stream
|
/* crc32.c -- compute the CRC-32 of a data stream
|
||||||
* Copyright (C) 1995-2006, 2010, 2011, 2012 Mark Adler
|
* Copyright (C) 1995-2006, 2010, 2011, 2012, 2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*
|
*
|
||||||
* Thanks to Rodney Brown <rbrown64@csc.com.au> for his contribution of faster
|
* Thanks to Rodney Brown <rbrown64@csc.com.au> for his contribution of faster
|
||||||
|
@ -52,7 +52,7 @@
|
|||||||
#include "deflate.h"
|
#include "deflate.h"
|
||||||
|
|
||||||
const char deflate_copyright[] =
|
const char deflate_copyright[] =
|
||||||
" deflate 1.2.8.1 Copyright 1995-2016 Jean-loup Gailly and Mark Adler ";
|
" deflate 1.2.9 Copyright 1995-2016 Jean-loup Gailly and Mark Adler ";
|
||||||
/*
|
/*
|
||||||
If you use the zlib library in a product, an acknowledgment is welcome
|
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
|
in the documentation of your product. If for some reason you cannot
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* deflate.h -- internal compression state
|
/* deflate.h -- internal compression state
|
||||||
* Copyright (C) 1995-2012 Jean-loup Gailly
|
* Copyright (C) 1995-2016 Jean-loup Gailly
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* gzlog.c
|
* gzlog.c
|
||||||
* Copyright (C) 2004, 2008, 2012 Mark Adler, all rights reserved
|
* Copyright (C) 2004, 2008, 2012, 2016 Mark Adler, all rights reserved
|
||||||
* For conditions of distribution and use, see copyright notice in gzlog.h
|
* For conditions of distribution and use, see copyright notice in gzlog.h
|
||||||
* version 2.2, 14 Aug 2012
|
* version 2.2, 14 Aug 2012
|
||||||
*/
|
*/
|
||||||
|
2
gzguts.h
2
gzguts.h
@ -1,5 +1,5 @@
|
|||||||
/* gzguts.h -- zlib internal header definitions for gz* operations
|
/* gzguts.h -- zlib internal header definitions for gz* operations
|
||||||
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
|
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
2
gzlib.c
2
gzlib.c
@ -1,5 +1,5 @@
|
|||||||
/* gzlib.c -- zlib functions common to reading and writing gzip files
|
/* gzlib.c -- zlib functions common to reading and writing gzip files
|
||||||
* Copyright (C) 2004, 2010, 2011, 2012, 2013 Mark Adler
|
* Copyright (C) 2004, 2010, 2011, 2012, 2013, 2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
2
gzread.c
2
gzread.c
@ -1,5 +1,5 @@
|
|||||||
/* gzread.c -- zlib functions for reading gzip files
|
/* gzread.c -- zlib functions for reading gzip files
|
||||||
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
|
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* gzwrite.c -- zlib functions for writing gzip files
|
/* gzwrite.c -- zlib functions for writing gzip files
|
||||||
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013 Mark Adler
|
* Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* infback.c -- inflate using a call-back interface
|
/* infback.c -- inflate using a call-back interface
|
||||||
* Copyright (C) 1995-2011 Mark Adler
|
* Copyright (C) 1995-2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* inffast.c -- fast decoding
|
/* inffast.c -- fast decoding
|
||||||
* Copyright (C) 1995-2008, 2010, 2013 Mark Adler
|
* Copyright (C) 1995-2008, 2010, 2013, 2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* inflate.c -- zlib decompression
|
/* inflate.c -- zlib decompression
|
||||||
* Copyright (C) 1995-2012 Mark Adler
|
* Copyright (C) 1995-2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* inflate.h -- internal inflate state definition
|
/* inflate.h -- internal inflate state definition
|
||||||
* Copyright (C) 1995-2009 Mark Adler
|
* Copyright (C) 1995-2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* inftrees.c -- generate Huffman trees for efficient decoding
|
/* inftrees.c -- generate Huffman trees for efficient decoding
|
||||||
* Copyright (C) 1995-2013 Mark Adler
|
* Copyright (C) 1995-2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -9,7 +9,7 @@
|
|||||||
#define MAXBITS 15
|
#define MAXBITS 15
|
||||||
|
|
||||||
const char inflate_copyright[] =
|
const char inflate_copyright[] =
|
||||||
" inflate 1.2.8.1 Copyright 1995-2013 Mark Adler ";
|
" inflate 1.2.9 Copyright 1995-2016 Mark Adler ";
|
||||||
/*
|
/*
|
||||||
If you use the zlib library in a product, an acknowledgment is welcome
|
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
|
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};
|
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 */
|
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,
|
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, 198};
|
19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 192, 79};
|
||||||
static const unsigned short dbase[32] = { /* Distance codes 0..29 base */
|
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,
|
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,
|
257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
ZLIB version 1.2.8 for OS/400 installation instructions
|
ZLIB version 1.2.9 for OS/400 installation instructions
|
||||||
|
|
||||||
1) Download and unpack the zlib tarball to some IFS directory.
|
1) Download and unpack the zlib tarball to some IFS directory.
|
||||||
(i.e.: /path/to/the/zlib/ifs/source/directory)
|
(i.e.: /path/to/the/zlib/ifs/source/directory)
|
||||||
|
27
os400/bndsrc
27
os400/bndsrc
@ -46,6 +46,7 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
|
|||||||
EXPORT SYMBOL("uncompress")
|
EXPORT SYMBOL("uncompress")
|
||||||
EXPORT SYMBOL("zlibVersion")
|
EXPORT SYMBOL("zlibVersion")
|
||||||
EXPORT SYMBOL("zError")
|
EXPORT SYMBOL("zError")
|
||||||
|
EXPORT SYMBOL("z_errmsg")
|
||||||
|
|
||||||
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
||||||
/* Version 1.2.1 additional entry points. */
|
/* Version 1.2.1 additional entry points. */
|
||||||
@ -53,6 +54,7 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
|
|||||||
|
|
||||||
EXPORT SYMBOL("compressBound")
|
EXPORT SYMBOL("compressBound")
|
||||||
EXPORT SYMBOL("deflateBound")
|
EXPORT SYMBOL("deflateBound")
|
||||||
|
EXPORT SYMBOL("deflatePending")
|
||||||
EXPORT SYMBOL("gzungetc")
|
EXPORT SYMBOL("gzungetc")
|
||||||
EXPORT SYMBOL("gzclearerr")
|
EXPORT SYMBOL("gzclearerr")
|
||||||
EXPORT SYMBOL("inflateBack")
|
EXPORT SYMBOL("inflateBack")
|
||||||
@ -62,21 +64,25 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
|
|||||||
EXPORT SYMBOL("zlibCompileFlags")
|
EXPORT SYMBOL("zlibCompileFlags")
|
||||||
|
|
||||||
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
||||||
/* Version 1.2.5 additional entry points. */
|
/* Version 1.2.4 additional entry points. */
|
||||||
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
||||||
|
|
||||||
EXPORT SYMBOL("adler32_combine")
|
EXPORT SYMBOL("adler32_combine")
|
||||||
EXPORT SYMBOL("adler32_combine64")
|
EXPORT SYMBOL("adler32_combine64")
|
||||||
EXPORT SYMBOL("crc32_combine")
|
EXPORT SYMBOL("crc32_combine")
|
||||||
EXPORT SYMBOL("crc32_combine64")
|
EXPORT SYMBOL("crc32_combine64")
|
||||||
|
EXPORT SYMBOL("deflateSetHeader")
|
||||||
|
EXPORT SYMBOL("deflateTune")
|
||||||
EXPORT SYMBOL("gzbuffer")
|
EXPORT SYMBOL("gzbuffer")
|
||||||
|
EXPORT SYMBOL("gzclose_r")
|
||||||
|
EXPORT SYMBOL("gzclose_w")
|
||||||
|
EXPORT SYMBOL("gzdirect")
|
||||||
EXPORT SYMBOL("gzoffset")
|
EXPORT SYMBOL("gzoffset")
|
||||||
EXPORT SYMBOL("gzoffset64")
|
EXPORT SYMBOL("gzoffset64")
|
||||||
EXPORT SYMBOL("gzopen64")
|
EXPORT SYMBOL("gzopen64")
|
||||||
EXPORT SYMBOL("gzseek64")
|
EXPORT SYMBOL("gzseek64")
|
||||||
EXPORT SYMBOL("gztell64")
|
EXPORT SYMBOL("gztell64")
|
||||||
EXPORT SYMBOL("gzclose_r")
|
EXPORT SYMBOL("inflateGetHeader")
|
||||||
EXPORT SYMBOL("gzclose_w")
|
|
||||||
EXPORT SYMBOL("inflateMark")
|
EXPORT SYMBOL("inflateMark")
|
||||||
EXPORT SYMBOL("inflatePrime")
|
EXPORT SYMBOL("inflatePrime")
|
||||||
EXPORT SYMBOL("inflateReset2")
|
EXPORT SYMBOL("inflateReset2")
|
||||||
@ -87,7 +93,6 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
|
|||||||
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
||||||
|
|
||||||
EXPORT SYMBOL("deflateResetKeep")
|
EXPORT SYMBOL("deflateResetKeep")
|
||||||
EXPORT SYMBOL("deflatePending")
|
|
||||||
EXPORT SYMBOL("gzgetc_")
|
EXPORT SYMBOL("gzgetc_")
|
||||||
EXPORT SYMBOL("inflateResetKeep")
|
EXPORT SYMBOL("inflateResetKeep")
|
||||||
|
|
||||||
@ -95,6 +100,20 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB')
|
|||||||
/* Version 1.2.8 additional entry points. */
|
/* Version 1.2.8 additional entry points. */
|
||||||
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
||||||
|
|
||||||
|
EXPORT SYMBOL("gzvprintf")
|
||||||
EXPORT SYMBOL("inflateGetDictionary")
|
EXPORT SYMBOL("inflateGetDictionary")
|
||||||
|
|
||||||
|
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
||||||
|
/* Version 1.2.9 additional entry points. */
|
||||||
|
/*@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*/
|
||||||
|
|
||||||
|
EXPORT SYMBOL("adler32_z")
|
||||||
|
EXPORT SYMBOL("crc32_z")
|
||||||
|
EXPORT SYMBOL("deflateGetDictionary")
|
||||||
|
EXPORT SYMBOL("gzfread")
|
||||||
|
EXPORT SYMBOL("gzfwrite")
|
||||||
|
EXPORT SYMBOL("inflateCodesUsed")
|
||||||
|
EXPORT SYMBOL("inflateValidate")
|
||||||
|
EXPORT SYMBOL("uncompress2")
|
||||||
|
|
||||||
ENDPGMEXP
|
ENDPGMEXP
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
* ZLIB.INC - Interface to the general purpose compression library
|
* ZLIB.INC - Interface to the general purpose compression library
|
||||||
*
|
*
|
||||||
* ILE RPG400 version by Patrick Monnerat, DATASPHERE.
|
* ILE RPG400 version by Patrick Monnerat, DATASPHERE.
|
||||||
* Version 1.2.8
|
* Version 1.2.9
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* WARNING:
|
* WARNING:
|
||||||
@ -22,12 +22,12 @@
|
|||||||
*
|
*
|
||||||
* Versioning information.
|
* Versioning information.
|
||||||
*
|
*
|
||||||
D ZLIB_VERSION C '1.2.8'
|
D ZLIB_VERSION C '1.2.9'
|
||||||
D ZLIB_VERNUM C X'1280'
|
D ZLIB_VERNUM C X'1290'
|
||||||
D ZLIB_VER_MAJOR C 1
|
D ZLIB_VER_MAJOR C 1
|
||||||
D ZLIB_VER_MINOR C 2
|
D ZLIB_VER_MINOR C 2
|
||||||
D ZLIB_VER_REVISION...
|
D ZLIB_VER_REVISION...
|
||||||
D C 8
|
D C 9
|
||||||
D ZLIB_VER_SUBREVISION...
|
D ZLIB_VER_SUBREVISION...
|
||||||
D C 0
|
D C 0
|
||||||
*
|
*
|
||||||
@ -80,6 +80,7 @@
|
|||||||
*
|
*
|
||||||
D z_streamp S * Stream struct ptr
|
D z_streamp S * Stream struct ptr
|
||||||
D gzFile S * File pointer
|
D gzFile S * File pointer
|
||||||
|
D gz_headerp S *
|
||||||
D z_off_t S 10i 0 Stream offsets
|
D z_off_t S 10i 0 Stream offsets
|
||||||
D z_off64_t S 20i 0 Stream offsets
|
D z_off64_t S 20i 0 Stream offsets
|
||||||
*
|
*
|
||||||
@ -132,6 +133,12 @@
|
|||||||
D source 65535 const options(*varsize) Source buffer
|
D source 65535 const options(*varsize) Source buffer
|
||||||
D sourceLen 10U 0 value Source length
|
D sourceLen 10U 0 value Source length
|
||||||
*
|
*
|
||||||
|
D uncompress2 PR 10I 0 extproc('uncompress2')
|
||||||
|
D dest 65535 options(*varsize) Destination buffer
|
||||||
|
D destLen 10U 0 Destination length
|
||||||
|
D source 65535 const options(*varsize) Source buffer
|
||||||
|
D sourceLen 10U 0 Source length
|
||||||
|
*
|
||||||
/if not defined(LARGE_FILES)
|
/if not defined(LARGE_FILES)
|
||||||
D gzopen PR extproc('gzopen')
|
D gzopen PR extproc('gzopen')
|
||||||
D like(gzFile)
|
D like(gzFile)
|
||||||
@ -168,11 +175,23 @@
|
|||||||
D buf 65535 options(*varsize) Buffer
|
D buf 65535 options(*varsize) Buffer
|
||||||
D len 10u 0 value Buffer length
|
D len 10u 0 value Buffer length
|
||||||
*
|
*
|
||||||
|
D gzfread PR 20I 0 extproc('gzfread')
|
||||||
|
D buf 65535 options(*varsize) Buffer
|
||||||
|
D size 20u 0 value Buffer length
|
||||||
|
D nitems 20u 0 value Buffer length
|
||||||
|
D file value like(gzFile) File pointer
|
||||||
|
*
|
||||||
D gzwrite PR 10I 0 extproc('gzwrite')
|
D gzwrite PR 10I 0 extproc('gzwrite')
|
||||||
D file value like(gzFile) File pointer
|
D file value like(gzFile) File pointer
|
||||||
D buf 65535 const options(*varsize) Buffer
|
D buf 65535 const options(*varsize) Buffer
|
||||||
D len 10u 0 value Buffer length
|
D len 10u 0 value Buffer length
|
||||||
*
|
*
|
||||||
|
D gzfwrite PR 20I 0 extproc('gzfwrite')
|
||||||
|
D buf 65535 options(*varsize) Buffer
|
||||||
|
D size 20u 0 value Buffer length
|
||||||
|
D nitems 20u 0 value Buffer length
|
||||||
|
D file value like(gzFile) File pointer
|
||||||
|
*
|
||||||
D gzputs PR 10I 0 extproc('gzputs')
|
D gzputs PR 10I 0 extproc('gzputs')
|
||||||
D file value like(gzFile) File pointer
|
D file value like(gzFile) File pointer
|
||||||
D s * value options(*string) String to output
|
D s * value options(*string) String to output
|
||||||
@ -252,6 +271,9 @@
|
|||||||
/endif
|
/endif
|
||||||
*
|
*
|
||||||
D gzeof PR 10i 0 extproc('gzeof')
|
D gzeof PR 10i 0 extproc('gzeof')
|
||||||
|
D file value like(gzFile) File pointer
|
||||||
|
*
|
||||||
|
D gzdirect PR 10i 0 extproc('gzdirect')
|
||||||
D file value like(gzFile) File pointer
|
D file value like(gzFile) File pointer
|
||||||
*
|
*
|
||||||
D gzclose_r PR 10i 0 extproc('gzclose_r')
|
D gzclose_r PR 10i 0 extproc('gzclose_r')
|
||||||
@ -311,7 +333,7 @@
|
|||||||
D method 10I 0 value Compression method
|
D method 10I 0 value Compression method
|
||||||
D windowBits 10I 0 value log2(window size)
|
D windowBits 10I 0 value log2(window size)
|
||||||
D memLevel 10I 0 value Mem/cmpress tradeoff
|
D memLevel 10I 0 value Mem/cmpress tradeoff
|
||||||
D strategy 10I 0 value Compression stategy
|
D strategy 10I 0 value Compression strategy
|
||||||
D version * value options(*string) Version string
|
D version * value options(*string) Version string
|
||||||
D stream_size 10i 0 value Stream struct. size
|
D stream_size 10i 0 value Stream struct. size
|
||||||
*
|
*
|
||||||
@ -331,7 +353,14 @@
|
|||||||
D deflateParams PR 10I 0 extproc('deflateParams') Change level & strat
|
D deflateParams PR 10I 0 extproc('deflateParams') Change level & strat
|
||||||
D strm like(z_stream) Compression stream
|
D strm like(z_stream) Compression stream
|
||||||
D level 10I 0 value Compression level
|
D level 10I 0 value Compression level
|
||||||
D strategy 10I 0 value Compression stategy
|
D strategy 10I 0 value Compression strategy
|
||||||
|
*
|
||||||
|
D deflateTune PR 10I 0 extproc('deflateTune')
|
||||||
|
D strm like(z_stream) Compression stream
|
||||||
|
D good 10I 0 value
|
||||||
|
D lazy 10I 0 value
|
||||||
|
D nice 10I 0 value
|
||||||
|
D chain 10I 0 value
|
||||||
*
|
*
|
||||||
D deflateBound PR 10U 0 extproc('deflateBound') Change level & strat
|
D deflateBound PR 10U 0 extproc('deflateBound') Change level & strat
|
||||||
D strm like(z_stream) Compression stream
|
D strm like(z_stream) Compression stream
|
||||||
@ -363,6 +392,12 @@
|
|||||||
D PR 10I 0 extproc('inflateGetDictionary') Get dictionary
|
D PR 10I 0 extproc('inflateGetDictionary') Get dictionary
|
||||||
D strm like(z_stream) Expansion stream
|
D strm like(z_stream) Expansion stream
|
||||||
D dictionary 65535 options(*varsize) Dictionary bytes
|
D dictionary 65535 options(*varsize) Dictionary bytes
|
||||||
|
D dictLength 10U 0 Dictionary length
|
||||||
|
*
|
||||||
|
D deflateGetDictionary...
|
||||||
|
D PR 10I 0 extproc('deflateGetDictionary') Get dictionary
|
||||||
|
D strm like(z_stream) Expansion stream
|
||||||
|
D dictionary 65535 options(*varsize) Dictionary bytes
|
||||||
D dictLength 10U 0 Dictionary length
|
D dictLength 10U 0 Dictionary length
|
||||||
*
|
*
|
||||||
D inflateSync PR 10I 0 extproc('inflateSync') Sync. expansion
|
D inflateSync PR 10I 0 extproc('inflateSync') Sync. expansion
|
||||||
@ -387,6 +422,25 @@
|
|||||||
D inflateMark PR 10I 0 extproc('inflateMark') Get inflate info
|
D inflateMark PR 10I 0 extproc('inflateMark') Get inflate info
|
||||||
D strm like(z_stream) Expansion stream
|
D strm like(z_stream) Expansion stream
|
||||||
*
|
*
|
||||||
|
D inflateCodesUsed...
|
||||||
|
PR 20U 0 extproc('inflateCodesUsed')
|
||||||
|
D strm like(z_stream) Expansion stream
|
||||||
|
*
|
||||||
|
D inflateValidate...
|
||||||
|
PR 20U 0 extproc('inflateValidate')
|
||||||
|
D strm like(z_stream) Expansion stream
|
||||||
|
D check 10I 0 value
|
||||||
|
*
|
||||||
|
D inflateGetHeader...
|
||||||
|
PR 10U 0 extproc('inflateGetHeader')
|
||||||
|
D strm like(z_stream) Expansion stream
|
||||||
|
D head like(gz_headerp)
|
||||||
|
*
|
||||||
|
D deflateSetHeader...
|
||||||
|
PR 10U 0 extproc('deflateSetHeader')
|
||||||
|
D strm like(z_stream) Expansion stream
|
||||||
|
D head like(gz_headerp)
|
||||||
|
*
|
||||||
D inflateBackInit...
|
D inflateBackInit...
|
||||||
D PR 10I 0 extproc('inflateBackInit_')
|
D PR 10I 0 extproc('inflateBackInit_')
|
||||||
D strm like(z_stream) Expansion stream
|
D strm like(z_stream) Expansion stream
|
||||||
@ -417,11 +471,33 @@
|
|||||||
D buf 65535 const options(*varsize) Bytes to accumulate
|
D buf 65535 const options(*varsize) Bytes to accumulate
|
||||||
D len 10U 0 value Buffer length
|
D len 10U 0 value Buffer length
|
||||||
*
|
*
|
||||||
|
D adler32_combine...
|
||||||
|
PR 10U 0 extproc('adler32_combine') New checksum
|
||||||
|
D adler1 10U 0 value Old checksum
|
||||||
|
D adler2 10U 0 value Old checksum
|
||||||
|
D len2 20U 0 value Buffer length
|
||||||
|
*
|
||||||
|
D adler32_z PR 10U 0 extproc('adler32_z') New checksum
|
||||||
|
D adler 10U 0 value Old checksum
|
||||||
|
D buf 65535 const options(*varsize) Bytes to accumulate
|
||||||
|
D len 20U 0 value Buffer length
|
||||||
|
*
|
||||||
D crc32 PR 10U 0 extproc('crc32') New checksum
|
D crc32 PR 10U 0 extproc('crc32') New checksum
|
||||||
D crc 10U 0 value Old checksum
|
D crc 10U 0 value Old checksum
|
||||||
D buf 65535 const options(*varsize) Bytes to accumulate
|
D buf 65535 const options(*varsize) Bytes to accumulate
|
||||||
D len 10U 0 value Buffer length
|
D len 10U 0 value Buffer length
|
||||||
*
|
*
|
||||||
|
D crc32_combine...
|
||||||
|
PR 10U 0 extproc('crc32_combine') New checksum
|
||||||
|
D crc1 10U 0 value Old checksum
|
||||||
|
D crc2 10U 0 value Old checksum
|
||||||
|
D len2 20U 0 value Buffer length
|
||||||
|
*
|
||||||
|
D crc32_z PR 10U 0 extproc('crc32_z') New checksum
|
||||||
|
D crc 10U 0 value Old checksum
|
||||||
|
D buf 65535 const options(*varsize) Bytes to accumulate
|
||||||
|
D len 20U 0 value Buffer length
|
||||||
|
*
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
* Miscellaneous function prototypes
|
* Miscellaneous function prototypes
|
||||||
**************************************************************************
|
**************************************************************************
|
||||||
|
@ -25,10 +25,10 @@
|
|||||||
<QPG:Files>
|
<QPG:Files>
|
||||||
<QPG:Add file="../zconf.h" install="/opt/include/" user="root:sys" permission="644"/>
|
<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="../zlib.h" install="/opt/include/" user="root:sys" permission="644"/>
|
||||||
<QPG:Add file="../libz.so.1.2.8.1" install="/opt/lib/" user="root:bin" permission="644"/>
|
<QPG:Add file="../libz.so.1.2.9" 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.8.1"/>
|
<QPG:Add file="libz.so" install="/opt/lib/" component="dev" filetype="symlink" linkto="libz.so.1.2.9"/>
|
||||||
<QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.8.1"/>
|
<QPG:Add file="libz.so.1" install="/opt/lib/" filetype="symlink" linkto="libz.so.1.2.9"/>
|
||||||
<QPG:Add file="../libz.so.1.2.8.1" install="/opt/lib/" component="slib"/>
|
<QPG:Add file="../libz.so.1.2.9" install="/opt/lib/" component="slib"/>
|
||||||
</QPG:Files>
|
</QPG:Files>
|
||||||
|
|
||||||
<QPG:PackageFilter>
|
<QPG:PackageFilter>
|
||||||
@ -63,7 +63,7 @@
|
|||||||
</QPM:ProductDescription>
|
</QPM:ProductDescription>
|
||||||
|
|
||||||
<QPM:ReleaseDescription>
|
<QPM:ReleaseDescription>
|
||||||
<QPM:ReleaseVersion>1.2.8.1</QPM:ReleaseVersion>
|
<QPM:ReleaseVersion>1.2.9</QPM:ReleaseVersion>
|
||||||
<QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency>
|
<QPM:ReleaseUrgency>Medium</QPM:ReleaseUrgency>
|
||||||
<QPM:ReleaseStability>Stable</QPM:ReleaseStability>
|
<QPM:ReleaseStability>Stable</QPM:ReleaseStability>
|
||||||
<QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor>
|
<QPM:ReleaseNoteMinor></QPM:ReleaseNoteMinor>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* example.c -- usage example of the zlib compression library
|
/* example.c -- usage example of the zlib compression library
|
||||||
* Copyright (C) 1995-2006, 2011 Jean-loup Gailly.
|
* Copyright (C) 1995-2006, 2011, 2016 Jean-loup Gailly
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* infcover.c -- test zlib's inflate routines with full code coverage
|
/* infcover.c -- test zlib's inflate routines with full code coverage
|
||||||
* Copyright (C) 2011 Mark Adler
|
* Copyright (C) 2011, 2016 Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* minigzip.c -- simulate gzip using the zlib compression library
|
/* minigzip.c -- simulate gzip using the zlib compression library
|
||||||
* Copyright (C) 1995-2006, 2010, 2011 Jean-loup Gailly.
|
* Copyright (C) 1995-2006, 2010, 2011, 2016 Jean-loup Gailly
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<package name="zlib" version="1.2.8.1">
|
<package name="zlib" version="1.2.9">
|
||||||
<library name="zlib" dlversion="1.2.8.1" dlname="z">
|
<library name="zlib" dlversion="1.2.9" dlname="z">
|
||||||
<property name="description"> zip compression library </property>
|
<property name="description"> zip compression library </property>
|
||||||
<property name="include-target-dir" value="$(@PACKAGE/install-includedir)" />
|
<property name="include-target-dir" value="$(@PACKAGE/install-includedir)" />
|
||||||
|
|
||||||
|
2
trees.c
2
trees.c
@ -1,5 +1,5 @@
|
|||||||
/* trees.c -- output deflated data using Huffman coding
|
/* trees.c -- output deflated data using Huffman coding
|
||||||
* Copyright (C) 1995-2012 Jean-loup Gailly
|
* Copyright (C) 1995-2016 Jean-loup Gailly
|
||||||
* detect_data_type() function provided freely by Cosmin Truta, 2006
|
* detect_data_type() function provided freely by Cosmin Truta, 2006
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
ZLIB DATA COMPRESSION LIBRARY
|
ZLIB DATA COMPRESSION LIBRARY
|
||||||
|
|
||||||
zlib 1.2.8.1 is a general purpose data compression library. All the code is
|
zlib 1.2.9 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
|
thread safe. The data format used by the zlib library is described by RFCs
|
||||||
(Request for Comments) 1950 to 1952 in the files
|
(Request for Comments) 1950 to 1952 in the files
|
||||||
http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
|
http://www.ietf.org/rfc/rfc1950.txt (zlib format), rfc1951.txt (deflate format)
|
||||||
@ -22,7 +22,7 @@ before asking for help.
|
|||||||
|
|
||||||
Manifest:
|
Manifest:
|
||||||
|
|
||||||
The package zlib-1.2.8.1-win32-x86.zip will contain the following files:
|
The package zlib-1.2.9-win32-x86.zip will contain the following files:
|
||||||
|
|
||||||
README-WIN32.txt This document
|
README-WIN32.txt This document
|
||||||
ChangeLog Changes since previous zlib packages
|
ChangeLog Changes since previous zlib packages
|
||||||
|
@ -8,6 +8,7 @@ EXPORTS
|
|||||||
inflateEnd
|
inflateEnd
|
||||||
; advanced functions
|
; advanced functions
|
||||||
deflateSetDictionary
|
deflateSetDictionary
|
||||||
|
deflateGetDictionary
|
||||||
deflateCopy
|
deflateCopy
|
||||||
deflateReset
|
deflateReset
|
||||||
deflateParams
|
deflateParams
|
||||||
@ -33,12 +34,15 @@ EXPORTS
|
|||||||
compress2
|
compress2
|
||||||
compressBound
|
compressBound
|
||||||
uncompress
|
uncompress
|
||||||
|
uncompress2
|
||||||
gzopen
|
gzopen
|
||||||
gzdopen
|
gzdopen
|
||||||
gzbuffer
|
gzbuffer
|
||||||
gzsetparams
|
gzsetparams
|
||||||
gzread
|
gzread
|
||||||
|
gzfread
|
||||||
gzwrite
|
gzwrite
|
||||||
|
gzfwrite
|
||||||
gzprintf
|
gzprintf
|
||||||
gzvprintf
|
gzvprintf
|
||||||
gzputs
|
gzputs
|
||||||
@ -67,7 +71,9 @@ EXPORTS
|
|||||||
crc32_combine64
|
crc32_combine64
|
||||||
; checksum functions
|
; checksum functions
|
||||||
adler32
|
adler32
|
||||||
|
adler32_z
|
||||||
crc32
|
crc32
|
||||||
|
crc32_z
|
||||||
adler32_combine
|
adler32_combine
|
||||||
crc32_combine
|
crc32_combine
|
||||||
; various hacks, don't look :)
|
; various hacks, don't look :)
|
||||||
@ -81,6 +87,8 @@ EXPORTS
|
|||||||
inflateSyncPoint
|
inflateSyncPoint
|
||||||
get_crc_table
|
get_crc_table
|
||||||
inflateUndermine
|
inflateUndermine
|
||||||
|
inflateValidate
|
||||||
|
inflateCodesUsed
|
||||||
inflateResetKeep
|
inflateResetKeep
|
||||||
deflateResetKeep
|
deflateResetKeep
|
||||||
gzopen_w
|
gzopen_w
|
||||||
|
16
zconf.h
16
zconf.h
@ -1,5 +1,5 @@
|
|||||||
/* zconf.h -- configuration of the zlib compression library
|
/* zconf.h -- configuration of the zlib compression library
|
||||||
* Copyright (C) 1995-2013 Jean-loup Gailly.
|
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -29,6 +29,7 @@
|
|||||||
# define adler32 z_adler32
|
# define adler32 z_adler32
|
||||||
# define adler32_combine z_adler32_combine
|
# define adler32_combine z_adler32_combine
|
||||||
# define adler32_combine64 z_adler32_combine64
|
# define adler32_combine64 z_adler32_combine64
|
||||||
|
# define adler32_z z_adler32_z
|
||||||
# ifndef Z_SOLO
|
# ifndef Z_SOLO
|
||||||
# define compress z_compress
|
# define compress z_compress
|
||||||
# define compress2 z_compress2
|
# define compress2 z_compress2
|
||||||
@ -37,10 +38,12 @@
|
|||||||
# define crc32 z_crc32
|
# define crc32 z_crc32
|
||||||
# define crc32_combine z_crc32_combine
|
# define crc32_combine z_crc32_combine
|
||||||
# define crc32_combine64 z_crc32_combine64
|
# define crc32_combine64 z_crc32_combine64
|
||||||
|
# define crc32_z z_crc32_z
|
||||||
# define deflate z_deflate
|
# define deflate z_deflate
|
||||||
# define deflateBound z_deflateBound
|
# define deflateBound z_deflateBound
|
||||||
# define deflateCopy z_deflateCopy
|
# define deflateCopy z_deflateCopy
|
||||||
# define deflateEnd z_deflateEnd
|
# define deflateEnd z_deflateEnd
|
||||||
|
# define deflateGetDictionary z_deflateGetDictionary
|
||||||
# define deflateInit z_deflateInit
|
# define deflateInit z_deflateInit
|
||||||
# define deflateInit2 z_deflateInit2
|
# define deflateInit2 z_deflateInit2
|
||||||
# define deflateInit2_ z_deflateInit2_
|
# define deflateInit2_ z_deflateInit2_
|
||||||
@ -69,6 +72,8 @@
|
|||||||
# define gzeof z_gzeof
|
# define gzeof z_gzeof
|
||||||
# define gzerror z_gzerror
|
# define gzerror z_gzerror
|
||||||
# define gzflush z_gzflush
|
# define gzflush z_gzflush
|
||||||
|
# define gzfread z_gzfread
|
||||||
|
# define gzfwrite z_gzfwrite
|
||||||
# define gzgetc z_gzgetc
|
# define gzgetc z_gzgetc
|
||||||
# define gzgetc_ z_gzgetc_
|
# define gzgetc_ z_gzgetc_
|
||||||
# define gzgets z_gzgets
|
# define gzgets z_gzgets
|
||||||
@ -80,7 +85,6 @@
|
|||||||
# define gzopen_w z_gzopen_w
|
# define gzopen_w z_gzopen_w
|
||||||
# endif
|
# endif
|
||||||
# define gzprintf z_gzprintf
|
# define gzprintf z_gzprintf
|
||||||
# define gzvprintf z_gzvprintf
|
|
||||||
# define gzputc z_gzputc
|
# define gzputc z_gzputc
|
||||||
# define gzputs z_gzputs
|
# define gzputs z_gzputs
|
||||||
# define gzread z_gzread
|
# define gzread z_gzread
|
||||||
@ -91,6 +95,7 @@
|
|||||||
# define gztell z_gztell
|
# define gztell z_gztell
|
||||||
# define gztell64 z_gztell64
|
# define gztell64 z_gztell64
|
||||||
# define gzungetc z_gzungetc
|
# define gzungetc z_gzungetc
|
||||||
|
# define gzvprintf z_gzvprintf
|
||||||
# define gzwrite z_gzwrite
|
# define gzwrite z_gzwrite
|
||||||
# endif
|
# endif
|
||||||
# define inflate z_inflate
|
# define inflate z_inflate
|
||||||
@ -98,8 +103,10 @@
|
|||||||
# define inflateBackEnd z_inflateBackEnd
|
# define inflateBackEnd z_inflateBackEnd
|
||||||
# define inflateBackInit z_inflateBackInit
|
# define inflateBackInit z_inflateBackInit
|
||||||
# define inflateBackInit_ z_inflateBackInit_
|
# define inflateBackInit_ z_inflateBackInit_
|
||||||
|
# define inflateCodesUsed z_inflateCodesUsed
|
||||||
# define inflateCopy z_inflateCopy
|
# define inflateCopy z_inflateCopy
|
||||||
# define inflateEnd z_inflateEnd
|
# define inflateEnd z_inflateEnd
|
||||||
|
# define inflateGetDictionary z_inflateGetDictionary
|
||||||
# define inflateGetHeader z_inflateGetHeader
|
# define inflateGetHeader z_inflateGetHeader
|
||||||
# define inflateInit z_inflateInit
|
# define inflateInit z_inflateInit
|
||||||
# define inflateInit2 z_inflateInit2
|
# define inflateInit2 z_inflateInit2
|
||||||
@ -109,17 +116,18 @@
|
|||||||
# define inflatePrime z_inflatePrime
|
# define inflatePrime z_inflatePrime
|
||||||
# define inflateReset z_inflateReset
|
# define inflateReset z_inflateReset
|
||||||
# define inflateReset2 z_inflateReset2
|
# define inflateReset2 z_inflateReset2
|
||||||
|
# define inflateResetKeep z_inflateResetKeep
|
||||||
# define inflateSetDictionary z_inflateSetDictionary
|
# define inflateSetDictionary z_inflateSetDictionary
|
||||||
# define inflateGetDictionary z_inflateGetDictionary
|
|
||||||
# define inflateSync z_inflateSync
|
# define inflateSync z_inflateSync
|
||||||
# define inflateSyncPoint z_inflateSyncPoint
|
# define inflateSyncPoint z_inflateSyncPoint
|
||||||
# define inflateUndermine z_inflateUndermine
|
# define inflateUndermine z_inflateUndermine
|
||||||
# define inflateResetKeep z_inflateResetKeep
|
# define inflateValidate z_inflateValidate
|
||||||
# define inflate_copyright z_inflate_copyright
|
# define inflate_copyright z_inflate_copyright
|
||||||
# define inflate_fast z_inflate_fast
|
# define inflate_fast z_inflate_fast
|
||||||
# define inflate_table z_inflate_table
|
# define inflate_table z_inflate_table
|
||||||
# ifndef Z_SOLO
|
# ifndef Z_SOLO
|
||||||
# define uncompress z_uncompress
|
# define uncompress z_uncompress
|
||||||
|
# define uncompress2 z_uncompress2
|
||||||
# endif
|
# endif
|
||||||
# define zError z_zError
|
# define zError z_zError
|
||||||
# ifndef Z_SOLO
|
# ifndef Z_SOLO
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* zconf.h -- configuration of the zlib compression library
|
/* zconf.h -- configuration of the zlib compression library
|
||||||
* Copyright (C) 1995-2013 Jean-loup Gailly.
|
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -31,6 +31,7 @@
|
|||||||
# define adler32 z_adler32
|
# define adler32 z_adler32
|
||||||
# define adler32_combine z_adler32_combine
|
# define adler32_combine z_adler32_combine
|
||||||
# define adler32_combine64 z_adler32_combine64
|
# define adler32_combine64 z_adler32_combine64
|
||||||
|
# define adler32_z z_adler32_z
|
||||||
# ifndef Z_SOLO
|
# ifndef Z_SOLO
|
||||||
# define compress z_compress
|
# define compress z_compress
|
||||||
# define compress2 z_compress2
|
# define compress2 z_compress2
|
||||||
@ -39,10 +40,12 @@
|
|||||||
# define crc32 z_crc32
|
# define crc32 z_crc32
|
||||||
# define crc32_combine z_crc32_combine
|
# define crc32_combine z_crc32_combine
|
||||||
# define crc32_combine64 z_crc32_combine64
|
# define crc32_combine64 z_crc32_combine64
|
||||||
|
# define crc32_z z_crc32_z
|
||||||
# define deflate z_deflate
|
# define deflate z_deflate
|
||||||
# define deflateBound z_deflateBound
|
# define deflateBound z_deflateBound
|
||||||
# define deflateCopy z_deflateCopy
|
# define deflateCopy z_deflateCopy
|
||||||
# define deflateEnd z_deflateEnd
|
# define deflateEnd z_deflateEnd
|
||||||
|
# define deflateGetDictionary z_deflateGetDictionary
|
||||||
# define deflateInit z_deflateInit
|
# define deflateInit z_deflateInit
|
||||||
# define deflateInit2 z_deflateInit2
|
# define deflateInit2 z_deflateInit2
|
||||||
# define deflateInit2_ z_deflateInit2_
|
# define deflateInit2_ z_deflateInit2_
|
||||||
@ -71,6 +74,8 @@
|
|||||||
# define gzeof z_gzeof
|
# define gzeof z_gzeof
|
||||||
# define gzerror z_gzerror
|
# define gzerror z_gzerror
|
||||||
# define gzflush z_gzflush
|
# define gzflush z_gzflush
|
||||||
|
# define gzfread z_gzfread
|
||||||
|
# define gzfwrite z_gzfwrite
|
||||||
# define gzgetc z_gzgetc
|
# define gzgetc z_gzgetc
|
||||||
# define gzgetc_ z_gzgetc_
|
# define gzgetc_ z_gzgetc_
|
||||||
# define gzgets z_gzgets
|
# define gzgets z_gzgets
|
||||||
@ -82,7 +87,6 @@
|
|||||||
# define gzopen_w z_gzopen_w
|
# define gzopen_w z_gzopen_w
|
||||||
# endif
|
# endif
|
||||||
# define gzprintf z_gzprintf
|
# define gzprintf z_gzprintf
|
||||||
# define gzvprintf z_gzvprintf
|
|
||||||
# define gzputc z_gzputc
|
# define gzputc z_gzputc
|
||||||
# define gzputs z_gzputs
|
# define gzputs z_gzputs
|
||||||
# define gzread z_gzread
|
# define gzread z_gzread
|
||||||
@ -93,6 +97,7 @@
|
|||||||
# define gztell z_gztell
|
# define gztell z_gztell
|
||||||
# define gztell64 z_gztell64
|
# define gztell64 z_gztell64
|
||||||
# define gzungetc z_gzungetc
|
# define gzungetc z_gzungetc
|
||||||
|
# define gzvprintf z_gzvprintf
|
||||||
# define gzwrite z_gzwrite
|
# define gzwrite z_gzwrite
|
||||||
# endif
|
# endif
|
||||||
# define inflate z_inflate
|
# define inflate z_inflate
|
||||||
@ -100,8 +105,10 @@
|
|||||||
# define inflateBackEnd z_inflateBackEnd
|
# define inflateBackEnd z_inflateBackEnd
|
||||||
# define inflateBackInit z_inflateBackInit
|
# define inflateBackInit z_inflateBackInit
|
||||||
# define inflateBackInit_ z_inflateBackInit_
|
# define inflateBackInit_ z_inflateBackInit_
|
||||||
|
# define inflateCodesUsed z_inflateCodesUsed
|
||||||
# define inflateCopy z_inflateCopy
|
# define inflateCopy z_inflateCopy
|
||||||
# define inflateEnd z_inflateEnd
|
# define inflateEnd z_inflateEnd
|
||||||
|
# define inflateGetDictionary z_inflateGetDictionary
|
||||||
# define inflateGetHeader z_inflateGetHeader
|
# define inflateGetHeader z_inflateGetHeader
|
||||||
# define inflateInit z_inflateInit
|
# define inflateInit z_inflateInit
|
||||||
# define inflateInit2 z_inflateInit2
|
# define inflateInit2 z_inflateInit2
|
||||||
@ -111,17 +118,18 @@
|
|||||||
# define inflatePrime z_inflatePrime
|
# define inflatePrime z_inflatePrime
|
||||||
# define inflateReset z_inflateReset
|
# define inflateReset z_inflateReset
|
||||||
# define inflateReset2 z_inflateReset2
|
# define inflateReset2 z_inflateReset2
|
||||||
|
# define inflateResetKeep z_inflateResetKeep
|
||||||
# define inflateSetDictionary z_inflateSetDictionary
|
# define inflateSetDictionary z_inflateSetDictionary
|
||||||
# define inflateGetDictionary z_inflateGetDictionary
|
|
||||||
# define inflateSync z_inflateSync
|
# define inflateSync z_inflateSync
|
||||||
# define inflateSyncPoint z_inflateSyncPoint
|
# define inflateSyncPoint z_inflateSyncPoint
|
||||||
# define inflateUndermine z_inflateUndermine
|
# define inflateUndermine z_inflateUndermine
|
||||||
# define inflateResetKeep z_inflateResetKeep
|
# define inflateValidate z_inflateValidate
|
||||||
# define inflate_copyright z_inflate_copyright
|
# define inflate_copyright z_inflate_copyright
|
||||||
# define inflate_fast z_inflate_fast
|
# define inflate_fast z_inflate_fast
|
||||||
# define inflate_table z_inflate_table
|
# define inflate_table z_inflate_table
|
||||||
# ifndef Z_SOLO
|
# ifndef Z_SOLO
|
||||||
# define uncompress z_uncompress
|
# define uncompress z_uncompress
|
||||||
|
# define uncompress2 z_uncompress2
|
||||||
# endif
|
# endif
|
||||||
# define zError z_zError
|
# define zError z_zError
|
||||||
# ifndef Z_SOLO
|
# ifndef Z_SOLO
|
||||||
|
16
zconf.h.in
16
zconf.h.in
@ -1,5 +1,5 @@
|
|||||||
/* zconf.h -- configuration of the zlib compression library
|
/* zconf.h -- configuration of the zlib compression library
|
||||||
* Copyright (C) 1995-2013 Jean-loup Gailly.
|
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -29,6 +29,7 @@
|
|||||||
# define adler32 z_adler32
|
# define adler32 z_adler32
|
||||||
# define adler32_combine z_adler32_combine
|
# define adler32_combine z_adler32_combine
|
||||||
# define adler32_combine64 z_adler32_combine64
|
# define adler32_combine64 z_adler32_combine64
|
||||||
|
# define adler32_z z_adler32_z
|
||||||
# ifndef Z_SOLO
|
# ifndef Z_SOLO
|
||||||
# define compress z_compress
|
# define compress z_compress
|
||||||
# define compress2 z_compress2
|
# define compress2 z_compress2
|
||||||
@ -37,10 +38,12 @@
|
|||||||
# define crc32 z_crc32
|
# define crc32 z_crc32
|
||||||
# define crc32_combine z_crc32_combine
|
# define crc32_combine z_crc32_combine
|
||||||
# define crc32_combine64 z_crc32_combine64
|
# define crc32_combine64 z_crc32_combine64
|
||||||
|
# define crc32_z z_crc32_z
|
||||||
# define deflate z_deflate
|
# define deflate z_deflate
|
||||||
# define deflateBound z_deflateBound
|
# define deflateBound z_deflateBound
|
||||||
# define deflateCopy z_deflateCopy
|
# define deflateCopy z_deflateCopy
|
||||||
# define deflateEnd z_deflateEnd
|
# define deflateEnd z_deflateEnd
|
||||||
|
# define deflateGetDictionary z_deflateGetDictionary
|
||||||
# define deflateInit z_deflateInit
|
# define deflateInit z_deflateInit
|
||||||
# define deflateInit2 z_deflateInit2
|
# define deflateInit2 z_deflateInit2
|
||||||
# define deflateInit2_ z_deflateInit2_
|
# define deflateInit2_ z_deflateInit2_
|
||||||
@ -69,6 +72,8 @@
|
|||||||
# define gzeof z_gzeof
|
# define gzeof z_gzeof
|
||||||
# define gzerror z_gzerror
|
# define gzerror z_gzerror
|
||||||
# define gzflush z_gzflush
|
# define gzflush z_gzflush
|
||||||
|
# define gzfread z_gzfread
|
||||||
|
# define gzfwrite z_gzfwrite
|
||||||
# define gzgetc z_gzgetc
|
# define gzgetc z_gzgetc
|
||||||
# define gzgetc_ z_gzgetc_
|
# define gzgetc_ z_gzgetc_
|
||||||
# define gzgets z_gzgets
|
# define gzgets z_gzgets
|
||||||
@ -80,7 +85,6 @@
|
|||||||
# define gzopen_w z_gzopen_w
|
# define gzopen_w z_gzopen_w
|
||||||
# endif
|
# endif
|
||||||
# define gzprintf z_gzprintf
|
# define gzprintf z_gzprintf
|
||||||
# define gzvprintf z_gzvprintf
|
|
||||||
# define gzputc z_gzputc
|
# define gzputc z_gzputc
|
||||||
# define gzputs z_gzputs
|
# define gzputs z_gzputs
|
||||||
# define gzread z_gzread
|
# define gzread z_gzread
|
||||||
@ -91,6 +95,7 @@
|
|||||||
# define gztell z_gztell
|
# define gztell z_gztell
|
||||||
# define gztell64 z_gztell64
|
# define gztell64 z_gztell64
|
||||||
# define gzungetc z_gzungetc
|
# define gzungetc z_gzungetc
|
||||||
|
# define gzvprintf z_gzvprintf
|
||||||
# define gzwrite z_gzwrite
|
# define gzwrite z_gzwrite
|
||||||
# endif
|
# endif
|
||||||
# define inflate z_inflate
|
# define inflate z_inflate
|
||||||
@ -98,8 +103,10 @@
|
|||||||
# define inflateBackEnd z_inflateBackEnd
|
# define inflateBackEnd z_inflateBackEnd
|
||||||
# define inflateBackInit z_inflateBackInit
|
# define inflateBackInit z_inflateBackInit
|
||||||
# define inflateBackInit_ z_inflateBackInit_
|
# define inflateBackInit_ z_inflateBackInit_
|
||||||
|
# define inflateCodesUsed z_inflateCodesUsed
|
||||||
# define inflateCopy z_inflateCopy
|
# define inflateCopy z_inflateCopy
|
||||||
# define inflateEnd z_inflateEnd
|
# define inflateEnd z_inflateEnd
|
||||||
|
# define inflateGetDictionary z_inflateGetDictionary
|
||||||
# define inflateGetHeader z_inflateGetHeader
|
# define inflateGetHeader z_inflateGetHeader
|
||||||
# define inflateInit z_inflateInit
|
# define inflateInit z_inflateInit
|
||||||
# define inflateInit2 z_inflateInit2
|
# define inflateInit2 z_inflateInit2
|
||||||
@ -109,17 +116,18 @@
|
|||||||
# define inflatePrime z_inflatePrime
|
# define inflatePrime z_inflatePrime
|
||||||
# define inflateReset z_inflateReset
|
# define inflateReset z_inflateReset
|
||||||
# define inflateReset2 z_inflateReset2
|
# define inflateReset2 z_inflateReset2
|
||||||
|
# define inflateResetKeep z_inflateResetKeep
|
||||||
# define inflateSetDictionary z_inflateSetDictionary
|
# define inflateSetDictionary z_inflateSetDictionary
|
||||||
# define inflateGetDictionary z_inflateGetDictionary
|
|
||||||
# define inflateSync z_inflateSync
|
# define inflateSync z_inflateSync
|
||||||
# define inflateSyncPoint z_inflateSyncPoint
|
# define inflateSyncPoint z_inflateSyncPoint
|
||||||
# define inflateUndermine z_inflateUndermine
|
# define inflateUndermine z_inflateUndermine
|
||||||
# define inflateResetKeep z_inflateResetKeep
|
# define inflateValidate z_inflateValidate
|
||||||
# define inflate_copyright z_inflate_copyright
|
# define inflate_copyright z_inflate_copyright
|
||||||
# define inflate_fast z_inflate_fast
|
# define inflate_fast z_inflate_fast
|
||||||
# define inflate_table z_inflate_table
|
# define inflate_table z_inflate_table
|
||||||
# ifndef Z_SOLO
|
# ifndef Z_SOLO
|
||||||
# define uncompress z_uncompress
|
# define uncompress z_uncompress
|
||||||
|
# define uncompress2 z_uncompress2
|
||||||
# endif
|
# endif
|
||||||
# define zError z_zError
|
# define zError z_zError
|
||||||
# ifndef Z_SOLO
|
# ifndef Z_SOLO
|
||||||
|
38
zlib.3
38
zlib.3
@ -1,4 +1,4 @@
|
|||||||
.TH ZLIB 3 "7 July 2015"
|
.TH ZLIB 3 "31 Dec 2016"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
zlib \- compression/decompression library
|
zlib \- compression/decompression library
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -48,32 +48,10 @@ Changes to this version are documented in the file
|
|||||||
that accompanies the source.
|
that accompanies the source.
|
||||||
.LP
|
.LP
|
||||||
.I zlib
|
.I zlib
|
||||||
is available in Java using the java.util.zip package:
|
is built in to many languages and operating systems, including but not limited to
|
||||||
.IP
|
Java, Python, .NET, PHP, Perl, Ruby, Swift, and Go.
|
||||||
http://java.sun.com/developer/technicalArticles/Programming/compression/
|
|
||||||
.LP
|
.LP
|
||||||
A Perl interface to
|
An experimental package to read and write files in the .zip format,
|
||||||
.IR zlib ,
|
|
||||||
written by Paul Marquess (pmqs@cpan.org),
|
|
||||||
is available at CPAN (Comprehensive Perl Archive Network) sites,
|
|
||||||
including:
|
|
||||||
.IP
|
|
||||||
http://search.cpan.org/~pmqs/IO-Compress-Zlib/
|
|
||||||
.LP
|
|
||||||
A Python interface to
|
|
||||||
.IR zlib ,
|
|
||||||
written by A.M. Kuchling (amk@magnet.com),
|
|
||||||
is available in Python 1.5 and later versions:
|
|
||||||
.IP
|
|
||||||
http://docs.python.org/library/zlib.html
|
|
||||||
.LP
|
|
||||||
.I zlib
|
|
||||||
is built into
|
|
||||||
.IR tcl:
|
|
||||||
.IP
|
|
||||||
http://wiki.tcl.tk/4610
|
|
||||||
.LP
|
|
||||||
An experimental package to read and write files in .zip format,
|
|
||||||
written on top of
|
written on top of
|
||||||
.I zlib
|
.I zlib
|
||||||
by Gilles Vollant (info@winimage.com),
|
by Gilles Vollant (info@winimage.com),
|
||||||
@ -92,7 +70,9 @@ web site can be found at:
|
|||||||
.IP
|
.IP
|
||||||
http://zlib.net/
|
http://zlib.net/
|
||||||
.LP
|
.LP
|
||||||
The data format used by the zlib library is described by RFC
|
The data format used by the
|
||||||
|
.I zlib
|
||||||
|
library is described by RFC
|
||||||
(Request for Comments) 1950 to 1952 in the files:
|
(Request for Comments) 1950 to 1952 in the files:
|
||||||
.IP
|
.IP
|
||||||
http://tools.ietf.org/html/rfc1950 (for the zlib header and trailer format)
|
http://tools.ietf.org/html/rfc1950 (for the zlib header and trailer format)
|
||||||
@ -125,9 +105,9 @@ before asking for help.
|
|||||||
Send questions and/or comments to zlib@gzip.org,
|
Send questions and/or comments to zlib@gzip.org,
|
||||||
or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
|
or (for the Windows DLL version) to Gilles Vollant (info@winimage.com).
|
||||||
.SH AUTHORS AND LICENSE
|
.SH AUTHORS AND LICENSE
|
||||||
Version 1.2.8.1
|
Version 1.2.9
|
||||||
.LP
|
.LP
|
||||||
Copyright (C) 1995-2015 Jean-loup Gailly and Mark Adler
|
Copyright (C) 1995-2016 Jean-loup Gailly and Mark Adler
|
||||||
.LP
|
.LP
|
||||||
This software is provided 'as-is', without any express or implied
|
This software is provided 'as-is', without any express or implied
|
||||||
warranty. In no event will the authors be held liable for any damages
|
warranty. In no event will the authors be held liable for any damages
|
||||||
|
BIN
zlib.3.pdf
BIN
zlib.3.pdf
Binary file not shown.
12
zlib.h
12
zlib.h
@ -1,7 +1,7 @@
|
|||||||
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
/* zlib.h -- interface of the 'zlib' general purpose compression library
|
||||||
version 1.2.8.1, May xxth, 2013
|
version 1.2.9, December 31st, 2016
|
||||||
|
|
||||||
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
Copyright (C) 1995-2016 Jean-loup Gailly and Mark Adler
|
||||||
|
|
||||||
This software is provided 'as-is', without any express or implied
|
This software is provided 'as-is', without any express or implied
|
||||||
warranty. In no event will the authors be held liable for any damages
|
warranty. In no event will the authors be held liable for any damages
|
||||||
@ -37,12 +37,12 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define ZLIB_VERSION "1.2.8.1-motley"
|
#define ZLIB_VERSION "1.2.9"
|
||||||
#define ZLIB_VERNUM 0x1281
|
#define ZLIB_VERNUM 0x1290
|
||||||
#define ZLIB_VER_MAJOR 1
|
#define ZLIB_VER_MAJOR 1
|
||||||
#define ZLIB_VER_MINOR 2
|
#define ZLIB_VER_MINOR 2
|
||||||
#define ZLIB_VER_REVISION 8
|
#define ZLIB_VER_REVISION 9
|
||||||
#define ZLIB_VER_SUBREVISION 1
|
#define ZLIB_VER_SUBREVISION 0
|
||||||
|
|
||||||
/*
|
/*
|
||||||
The 'zlib' compression library provides in-memory compression and
|
The 'zlib' compression library provides in-memory compression and
|
||||||
|
11
zlib.map
11
zlib.map
@ -81,3 +81,14 @@ ZLIB_1.2.7.1 {
|
|||||||
inflateGetDictionary;
|
inflateGetDictionary;
|
||||||
gzvprintf;
|
gzvprintf;
|
||||||
} ZLIB_1.2.5.2;
|
} ZLIB_1.2.5.2;
|
||||||
|
|
||||||
|
ZLIB_1.2.9 {
|
||||||
|
inflateCodesUsed;
|
||||||
|
inflateValidate;
|
||||||
|
uncompress2;
|
||||||
|
gzfread;
|
||||||
|
gzfwrite;
|
||||||
|
deflateGetDictionary;
|
||||||
|
adler32_z;
|
||||||
|
crc32_z;
|
||||||
|
} ZLIB_1.2.7.1;
|
||||||
|
2
zutil.c
2
zutil.c
@ -1,5 +1,5 @@
|
|||||||
/* zutil.c -- target dependent utility functions for the compression library
|
/* zutil.c -- target dependent utility functions for the compression library
|
||||||
* Copyright (C) 1995-2005, 2010, 2011, 2012 Jean-loup Gailly.
|
* Copyright (C) 1995-2005, 2010, 2011, 2012, 2016 Jean-loup Gailly
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
2
zutil.h
2
zutil.h
@ -1,5 +1,5 @@
|
|||||||
/* zutil.h -- internal interface and configuration of the compression library
|
/* zutil.h -- internal interface and configuration of the compression library
|
||||||
* Copyright (C) 1995-2013 Jean-loup Gailly.
|
* Copyright (C) 1995-2016 Jean-loup Gailly, Mark Adler
|
||||||
* For conditions of distribution and use, see copyright notice in zlib.h
|
* For conditions of distribution and use, see copyright notice in zlib.h
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user