test

Branch


Log

Author Commit Date CI Message
Dimitri Papadopoulos fe41d189 2023-08-06T13:56:45 Correct typos in source code.
Xin LI bd9c329c 2023-09-03T13:10:10 Make internal functions static in the test code. To avoid warnings when building with -Wmissing-prototypes.
Mark Adler b8a8373e 2023-04-17T20:47:42 Fix test/example.c to work with FORCE_STORED.
Mark Adler 33654648 2023-04-17T20:21:58 Fix warnings on test/infcover.c.
Mark Adler e9d5486e 2023-04-14T01:42:03 Remove K&R function definitions from zlib. 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.
Mark Adler 2d6d59e4 2022-10-01T16:52:35 Avoid conversion warning in minigzip.c.
Mark Adler 441a2ac6 2022-05-26T08:47:51 Have build test report library version if it doesn't match zlib.h.
Mark Adler 0d36ec47 2019-01-02T18:10:40 Don't bother computing check value after successful inflateSync(). 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.
Mark Adler 2fa463ba 2016-12-31T11:41:31 zlib 1.2.9
Mark Adler 8f147c3d 2016-12-30T22:05:05 Avoid some random compiler warnings on various platforms.
Mark Adler fb26fc42 2016-12-30T22:04:22 Allow minigzip to compile when testing with ./configure --solo.
Mark Adler 79b5c5ac 2016-12-30T17:13:31 Use snprintf() for later versions of Microsoft C.
Mark Adler ca50ebd4 2016-12-03T10:27:14 Create z_size_t and z_ssize_t types. Normally these are set to size_t and ssize_t. But if they do not exist, then they are set to the smallest integer type that can contain a pointer. size_t is unsigned and ssize_t is signed.
Mark Adler 7d6956b6 2016-10-14T13:10:54 Make globals in examples local to compilation unit.
Mark Adler 0b223371 2015-07-28T21:55:09 Avoid use of reallocf() in test/infcover.c.
Mark Adler 283520ba 2014-07-02T16:34:22 Fix bug in test/example.c where error code not saved.
Mark Adler 62d6112a 2012-08-12T18:08:52 Clean up the usage of z_const and respect const usage within zlib. 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.
Mark Adler f947435b 2012-06-03T16:28:06 Use _snprintf for snprintf under Microsoft C in test/minigzip.c.
Mark Adler c58f7ab2 2012-05-02T23:18:38 Replace use of unsafe string functions with snprintf if available. This avoids warnings in OpenBSD that apparently can't be turned off whenever you link strcpy, strcat, or sprintf. When snprintf isn't available, the use of the "unsafe" string functions has always in fact been safe, since the lengths are all checked before those functions are called. We do not use strlcpy or strlcat, since they are not (yet) found on all systems. snprintf on the other hand is part of the C standard library and is very common.
Mark Adler 41a18e1d 2012-03-03T22:43:15 Fix bug in test/minigzip.c for configure --solo.
Mark Adler fbac04f6 2011-11-30T18:19:05 Clean up infcover.c.
Mark Adler 014967ac 2011-11-20T08:43:17 Test the inflate code with full coverage. Add a cover target in Makefile and the test/infcover.c test program to cover all of the code lines in the inf*.c source files. The coverage is run with memory allocation checking in order to expose memory leaks. The coverage testing is run using: ./configure --cover && make cover
Mark Adler 1b57de3a 2011-11-21T18:56:02 Move example.c and minigzip.c to test/.