mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
de1ab01e8e
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]
104 lines
4.8 KiB
Plaintext
104 lines
4.8 KiB
Plaintext
ZLIB DATA COMPRESSION LIBRARY
|
|
|
|
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)
|
|
and rfc1952.txt (gzip format).
|
|
|
|
All functions of the compression library are documented in the file zlib.h
|
|
(volunteer to write man pages welcome, contact zlib@gzip.org). Two compiled
|
|
examples are distributed in this package, example and minigzip. The example_d
|
|
and minigzip_d flavors validate that the zlib1.dll file is working correctly.
|
|
|
|
Questions about zlib should be sent to <zlib@gzip.org>. The zlib home page
|
|
is http://zlib.net/ . Before reporting a problem, please check this site to
|
|
verify that you have the latest version of zlib; otherwise get the latest
|
|
version and check whether the problem still exists or not.
|
|
|
|
PLEASE read DLL_FAQ.txt, and the the zlib FAQ http://zlib.net/zlib_faq.html
|
|
before asking for help.
|
|
|
|
|
|
Manifest:
|
|
|
|
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
|
|
DLL_FAQ.txt Frequently asked questions about zlib1.dll
|
|
zlib.3.pdf Documentation of this library in Adobe Acrobat format
|
|
|
|
example.exe A statically-bound example (using zlib.lib, not the dll)
|
|
example.pdb Symbolic information for debugging example.exe
|
|
|
|
example_d.exe A zlib1.dll bound example (using zdll.lib)
|
|
example_d.pdb Symbolic information for debugging example_d.exe
|
|
|
|
minigzip.exe A statically-bound test program (using zlib.lib, not the dll)
|
|
minigzip.pdb Symbolic information for debugging minigzip.exe
|
|
|
|
minigzip_d.exe A zlib1.dll bound test program (using zdll.lib)
|
|
minigzip_d.pdb Symbolic information for debugging minigzip_d.exe
|
|
|
|
zlib.h Install these files into the compilers' INCLUDE path to
|
|
zconf.h compile programs which use zlib.lib or zdll.lib
|
|
|
|
zdll.lib Install these files into the compilers' LIB path if linking
|
|
zdll.exp a compiled program to the zlib1.dll binary
|
|
|
|
zlib.lib Install these files into the compilers' LIB path to link zlib
|
|
zlib.pdb into compiled programs, without zlib1.dll runtime dependency
|
|
(zlib.pdb provides debugging info to the compile time linker)
|
|
|
|
zlib1.dll Install this binary shared library into the system PATH, or
|
|
the program's runtime directory (where the .exe resides)
|
|
zlib1.pdb Install in the same directory as zlib1.dll, in order to debug
|
|
an application crash using WinDbg or similar tools.
|
|
|
|
All .pdb files above are entirely optional, but are very useful to a developer
|
|
attempting to diagnose program misbehavior or a crash. Many additional
|
|
important files for developers can be found in the zlib127.zip source package
|
|
available from http://zlib.net/ - review that package's README file for details.
|
|
|
|
|
|
Acknowledgments:
|
|
|
|
The deflate format used by zlib was defined by Phil Katz. The deflate and
|
|
zlib specifications were written by L. Peter Deutsch. Thanks to all the
|
|
people who reported problems and suggested various improvements in zlib; they
|
|
are too numerous to cite here.
|
|
|
|
|
|
Copyright notice:
|
|
|
|
(C) 1995-2012 Jean-loup Gailly and Mark Adler
|
|
|
|
This software is provided 'as-is', without any express or implied
|
|
warranty. In no event will the authors be held liable for any damages
|
|
arising from the use of this software.
|
|
|
|
Permission is granted to anyone to use this software for any purpose,
|
|
including commercial applications, and to alter it and redistribute it
|
|
freely, subject to the following restrictions:
|
|
|
|
1. The origin of this software must not be misrepresented; you must not
|
|
claim that you wrote the original software. If you use this software
|
|
in a product, an acknowledgment in the product documentation would be
|
|
appreciated but is not required.
|
|
2. Altered source versions must be plainly marked as such, and must not be
|
|
misrepresented as being the original software.
|
|
3. This notice may not be removed or altered from any source distribution.
|
|
|
|
Jean-loup Gailly Mark Adler
|
|
jloup@gzip.org madler@alumni.caltech.edu
|
|
|
|
If you use the zlib library in a product, we would appreciate *not* receiving
|
|
lengthy legal documents to sign. The sources are provided for free but without
|
|
warranty of any kind. The library has been entirely written by Jean-loup
|
|
Gailly and Mark Adler; it does not include third-party code.
|
|
|
|
If you redistribute modified sources, we would appreciate that you include in
|
|
the file ChangeLog history information documenting your changes. Please read
|
|
the FAQ for more information on the distribution of modified source versions.
|