examples

Branch


Log

Author Commit Date CI Message
THE-Spellchecker 01155ccc 2023-12-02T16:56:47 Fix random typos over several source and text files.
William Leara 16799d06 2023-12-11T11:32:09 Fix "the the" in examples/gzlog.c.
Dimitri Papadopoulos c7ddcc2e 2023-02-02T15:50:00 Fix some spelling errors.
Mark Adler 7e6dc429 2023-04-13T15:33:03 Add a NOPRIME #define to zran.c to not use inflatePrime(). This supports zlib versions earlier than 1.2.3 (July 2005), as well as incomplete clones of zlib that do not have inflatePrime().
Mark Adler eb0e038b 2023-02-18T20:53:39 Rewrite of zran in examples. See version history in zran.c.
Mark Adler a9b4c1de 2023-01-24T20:43:19 Update zlib_how.html to match the web page, and add a license.
Mark Adler 5752b171 2022-08-22T13:13:06 Fix some typos. No code changes.
Mark Adler 02064366 2019-05-25T22:23:20 Fix memory leak on error in gzlog.c. Thank you Adam Richter.
Mark Adler 921d81b2 2018-10-07T21:26:43 Fix the zran.c example to work on a multiple-member gzip file.
Mark Adler 354fa43d 2018-10-05T23:06:36 Add gznorm.c example, which normalizes gzip files.
Mark Adler cd16ff0b 2018-08-04T14:34:01 Show all the codes for the maximum tables size in enough.c.
Mark Adler d00c147f 2018-08-04T14:27:02 Clarify that prefix codes are counted in enough.c. There is no assurance that all prefix codes are reachable as optimal Huffman codes for the numbers of symbols encountered in a deflate block. This code considers all possible prefix codes, which might be a larger set than all possible Huffman codes, depending on the constraints.
Mark Adler 5b138100 2018-08-01T18:24:43 Use inline function instead of macro for index in enough.c.
Mark Adler 8ba2cdb6 2018-08-01T01:49:45 Clean up code style in enough.c, update version.
Mark Adler 4c14b515 2018-08-01T01:39:47 Use a macro for the printf format of big_t in enough.c.
Mark Adler 194e558e 2018-08-01T01:37:03 Use a structure to make globals in enough.c evident.
Mark Adler ae49d147 2017-10-12T19:27:59 Avoid an undefined behavior of memcpy() in gzappend().
Mark Adler 2fa463ba 2016-12-31T11:41:31 zlib 1.2.9
Mark Adler 03614c56 2016-10-30T08:36:13 Fix some typos.
Mark Adler 51a223de 2015-07-28T22:44:31 Avoid use of DEBUG macro -- change to ZLIB_DEBUG.
Mark Adler e69a9cee 2012-10-11T16:10:59 Check for input buffer malloc failure in examples/gzappend.c.
Mark Adler bd143f1c 2012-09-29T21:48:18 Fix memory allocation error in examples/zran.c [Nor].
Mark Adler 17068938 2012-08-18T17:59:50 Avoid shift equal to bits in type (caused endless loop). Also clean up comparisons between different types, and some odd indentation problems that showed up somehow. A new endless loop was introduced by the clang compiler, which apparently does odd things when the right operand of << is equal to or greater than the number of bits in the type. The C standard in fact states that the behavior of << is undefined in that case. The loop was rewritten to use single-bit shifts.
Mark Adler 3d9df6ec 2012-08-14T00:31:23 Clean up examples/gzlog.[ch] comparisons of different types.
Mark Adler a2981775 2012-08-14T00:30:44 Clean up examples/gzjoin.c for z_const usage.
Mark Adler aa210a1b 2012-08-14T00:29:58 Fix example/gzappend.c for proper z_const usage.
Mark Adler 360c3e95 2012-08-13T21:49:10 Update examples/gun.c for proper z_const usage.
Mark Adler fb4e0599 2012-07-08T17:01:13 Fix argument checks in gzlog_compress() and gzlog_write().
Mark Adler 1b57de3a 2011-11-21T18:56:02 Move example.c and minigzip.c to test/.
Mark Adler 1bd2fa1b 2011-10-09T09:50:48 Move example.c and minigzip.c to examples/ directory.
Mark Adler e0ff940e 2011-09-09T23:27:17 zlib 1.2.3.8
Mark Adler dc5a43eb 2011-09-09T23:26:58 zlib 1.2.3.6
Mark Adler f6194ef3 2011-09-09T23:26:40 zlib 1.2.3.4
Mark Adler b1c19ca6 2011-09-09T23:25:27 zlib 1.2.3.1
Mark Adler 9c3a5830 2011-09-09T23:24:52 zlib 1.2.2.4
Mark Adler 6b8233bf 2011-09-09T23:24:43 zlib 1.2.2.3
Mark Adler 0484693e 2011-09-09T23:24:33 zlib 1.2.2.2