summaryrefslogtreecommitdiff
path: root/zutil.c
Commit message (Collapse)AuthorAgeFilesLines
* Update use of errno for newer Windows CE versions.Mark Adler2017-02-151-2/+2
|
* zlib 1.2.11v1.2.11Mark Adler2017-01-151-1/+1
|
* Fix compilation with --solo and --debug combined.Mark Adler2017-01-021-1/+1
| | | | | However this ends up not really being solo, since it has to include external libraries.
* zlib 1.2.9v1.2.9Mark Adler2016-12-311-1/+1
|
* Clean up type conversions.Mark Adler2016-10-111-10/+11
|
* Remove dummy structure declarations for old buggy compilers.Mark Adler2016-09-211-4/+0
| | | | | | | | | | | | | | While woolly mammoths still roamed the Earth and before Atlantis sunk into the ocean, there were C compilers that could not handle forward structure references, e.g. "struct name;". zlib dutifully provided a work-around for such compilers. That work-around is no longer needed, and, per the recommendation of a security audit of the zlib code by Trail of Bits and TrustInSoft, in support of the Mozilla Foundation, should be removed since what a compiler will do with this is technically undefined. From the report: "there is no telling what interactions the bug could have in the future with link-time optimizations and type-based alias analyses, both features that are present (but not default) in clang."
* Use a consistent and more modern approach to not use a parameter.Mark Adler2015-10-041-6/+10
| | | | | | A remarkably creative and diverse set of approaches to letting the compiler know that opaque was being used when it wasn't is changed by this commit to the more standard (void)opaque.
* Avoid use of DEBUG macro -- change to ZLIB_DEBUG.Mark Adler2015-07-281-2/+2
|
* Clean up the usage of z_const and respect const usage within zlib.Mark Adler2012-08-131-1/+1
| | | | | | | | | This patch allows zlib to compile cleanly with the -Wcast-qual gcc warning enabled, but only if ZLIB_CONST is defined, which adds const to next_in and msg in z_stream and in the in_func prototype. A --const option is added to ./configure which adds -DZLIB_CONST to the compile flags, and adds -Wcast-qual to the compile flags when ZLIBGCCWARN is set in the environment.
* zlib 1.2.6.1v1.2.6.1Mark Adler2012-02-121-1/+1
|
* Put gzflags() functionality back in zutil.c.Mark Adler2012-02-011-3/+26
| | | | | | | | | | gzflags() was put in gzwrite.c in order to be compiled exactly the same as gzprintf(), so that it was guaranteed to return the correct information. However that causes a static linkage to zlib to bring in many routines that are often not used. All that is required to duplicate the compilation environment of gzprintf() is to include gzguts.h. So that is now done in zutil.c to assure that the correct flags are returned.
* Add a ./config --solo option to make zlib subset with no libary useMark Adler2011-10-071-0/+7
| | | | | | | | A common request has been the ability to compile zlib to require no other libraries. This --solo option provides that ability. The price is that the gz*, compress*, and uncompress functions are eliminated, and that the user must provide memory allocation and free routines to deflate and inflate when initializing.
* Merge vestigial vsnprintf determination from zutil.h to gzguts.h.Mark Adler2011-10-021-25/+1
| | | | | | | | | This also moves some of the same from zconf.h to gzguts.h. A new function, gzflags(), was created to pass the compilation flags related to vsnprintf usage back to zlibCompileFlags() in zutil.c. In the process, various compiler configuration files were updated to include gzflags(), as well as the new gzgetc_() function added when the gzgetc() macro was introduced in a previous patch.
* zlib 1.2.5.1v1.2.5.1Mark Adler2011-09-111-2/+2
|
* zlib 1.2.5v1.2.5Mark Adler2011-09-091-1/+1
|
* zlib 1.2.4.5v1.2.4.5Mark Adler2011-09-091-11/+11
|
* zlib 1.2.4.1v1.2.4.1Mark Adler2011-09-091-1/+1
|
* zlib 1.2.3.6v1.2.3.6Mark Adler2011-09-091-4/+4
|
* zlib 1.2.2.4v1.2.2.4Mark Adler2011-09-091-12/+12
|
* zlib 1.2.2.2v1.2.2.2Mark Adler2011-09-091-1/+4
|
* zlib 1.2.2.1v1.2.2.1Mark Adler2011-09-091-5/+1
|
* zlib 1.2.0.5v1.2.0.5Mark Adler2011-09-091-11/+18
|
* zlib 1.2.0.4v1.2.0.4Mark Adler2011-09-091-1/+1
|
* zlib 1.2.0.2v1.2.0.2Mark Adler2011-09-091-0/+83
|
* zlib 1.2.0v1.2.0Mark Adler2011-09-091-3/+7
|
* zlib 1.1.4v1.1.4Mark Adler2011-09-091-1/+1
|
* zlib 1.1.3v1.1.3Mark Adler2011-09-091-4/+4
|
* zlib 1.0.9v1.0.9Mark Adler2011-09-091-2/+2
|
* zlib 1.0.8v1.0.8Mark Adler2011-09-091-2/+0
|
* zlib 1.0.7v1.0.7Mark Adler2011-09-091-3/+19
|
* zlib 1.0.4v1.0.4Mark Adler2011-09-091-5/+20
|
* zlib 1.0.2v1.0.2Mark Adler2011-09-091-3/+6
|
* zlib 1.0.1v1.0.1Mark Adler2011-09-091-23/+21
|
* zlib 1.0-prev1.0-preMark Adler2011-09-091-20/+22
|
* zlib 0.99v0.99Mark Adler2011-09-091-18/+28
|
* zlib 0.95v0.95Mark Adler2011-09-091-20/+23
|
* zlib 0.94v0.94Mark Adler2011-09-091-5/+7
|
* zlib 0.92v0.92Mark Adler2011-09-091-16/+16
|
* zlib 0.91v0.91Mark Adler2011-09-091-7/+16
|
* zlib 0.8v0.8Mark Adler2011-09-091-3/+6
|
* zlib 0.79v0.79Mark Adler2011-09-091-2/+4
|
* zlib 0.71v0.71Mark Adler2011-09-091-0/+164