examples


Log

Author Commit Date CI Message
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