aboutsummaryrefslogtreecommitdiff
path: root/test/example.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make internal functions static in the test code.Xin LI2023-09-031-12/+13
| | | | To avoid warnings when building with -Wmissing-prototypes.
* Fix test/example.c to work with FORCE_STORED.Mark Adler2023-04-181-5/+5
|
* Remove K&R function definitions from zlib.Mark Adler2023-04-151-75/+18
| | | | | | | C2X has removed K&R definitions from the C function syntax. Though the standard has not yet been approved, some high-profile compilers are now issuing warnings when such definitions are encountered.
* Have build test report library version if it doesn't match zlib.h.Mark Adler2022-05-261-1/+2
|
* Don't bother computing check value after successful inflateSync().Mark Adler2019-01-021-3/+2
| | | | | | | | | | | inflateSync() is used to skip invalid deflate data, which means that the check value that was being computed is no longer useful. This commit turns off the check value computation, and furthermore allows a successful return if the compressed data terminated in a graceful manner. This commit also fixes a bug in the case that inflateSync() is used before a header is ever processed. In that case, there is no knowledge of a trailer, so the remainder is treated as raw.
* zlib 1.2.9v1.2.9Mark Adler2016-12-311-1/+1
|
* Avoid some random compiler warnings on various platforms.Mark Adler2016-12-301-3/+4
|
* Make globals in examples local to compilation unit.Mark Adler2016-10-141-3/+3
|
* Fix bug in test/example.c where error code not saved.Mark Adler2014-07-021-1/+1
|
* Clean up the usage of z_const and respect const usage within zlib.Mark Adler2012-08-131-4/+4
| | | | | | | | | 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.
* Move example.c and minigzip.c to test/.Mark Adler2011-11-271-0/+601