summaryrefslogtreecommitdiff
path: root/test/example.c
Commit message (Expand)AuthorAgeFilesLines
* Use CTest to simplify testing optionsHans Kristian Rosbach2025-11-161-2/+2
* Fix type mismatch on platforms where int32_t and uint32_t use long instead of...Mika Lindqvist2025-10-221-5/+5
* Make internal functions static in the test code.Xin LI2024-02-071-31/+17
* Discard trailing whitespacesDimitri Papadopoulos2023-08-071-2/+2
* Fix definition of z_size_t to match documentation of legacy zlib API.Mika T. Lindqvist2023-02-231-8/+8
* Have build test report library version if it doesn't match zlib.h.Mark Adler2023-02-031-1/+1
* Introduce ZLIBNG_ENABLE_TESTSIlya Leoshkevich2022-11-011-8/+10
* Move _POSIX_C_SOURCE define before first stdlib.h include in zbuild.h for pos...Nathan Moinvaziri2022-01-291-3/+0
* inttypes.h includes stdint.h, so only include one of them.Hans Kristian Rosbach2021-12-191-2/+1
* Fixed inflateGetDictionary length check may include bytes added by last call ...Nathan Moinvaziri2021-12-021-1/+1
* IBM Z: Do not check inflateGetDictionary() with DFLTCCIlya Leoshkevich2021-10-131-1/+8
* Use helper function for printing error and exiting in example.Nathan Moinvaziri2021-09-221-195/+116
* Added code coverage for inflateGetDictionary in example.Nathan Moinvaziri2021-09-221-0/+16
* Call deflateBound to calculate length with custom gzip header in example.Nathan Moinvaziri2021-09-221-0/+1
* Fill out gzheader before calling deflateSetHeader for better code coverage in...Nathan Moinvaziri2021-09-221-0/+6
* Added Z_UNUSED define for ignore unused variables.Nathan Moinvaziri2021-06-181-1/+1
* Open up develop branch for non-stable commits.Hans Kristian Rosbach2021-06-121-2/+2
* Fixed dereference of possibly null head variable in test_deflate_set_header.Nathan Moinvaziri2020-10-091-0/+5
* Reintroduce support for ZLIB_CONST in compat mode. (#704)Mika Lindqvist2020-08-231-17/+17
* Fix testsuite warnings on Windows, using PRIu64Josh Triplett2020-08-201-1/+2
* Fixed const warning in deflate prime tests.Nathan Moinvaziri2020-07-101-1/+1
* Fixed integer casting and signed comparison warning in test_gzio.Nathan Moinvaziri2020-07-011-3/+4
* Improve deflatePrime test by wrapping gzip header and footer around deflate s...Nathan Moinvaziri2020-07-011-22/+68
* Fixed wrong size being used in calloc in test_deflate_set_header.Nathan Moinvaziri2020-06-291-1/+1
* Use standard int types in zlib-ng api.Nathan Moinvaziri2020-06-091-2/+2
* Fixed variable set but not used static analysis warning in example.Nathan Moinvaziri2020-06-091-1/+1
* Fixed const correctness when assigning stream next_in.Nathan Moinvaziri2020-05-301-7/+7
* Fixed casting warnings and non-standard initializer warning in example project.Nathan Moinvaziri2020-05-301-7/+12
* Added additional gzio tests for improved code coverage.Nathan Moinvaziri2020-05-061-10/+87
* Remove cvs keywordsPavel P2020-03-171-2/+0
* Fixed formatting, 4 spaces for code intent, 2 spaces for preprocessor indent,...Nathan Moinvaziri2020-02-071-36/+18
* Don't bother computing check value after successful inflateSync().Mark Adler2019-10-221-3/+2
* Fixed use of uninitialized value in test_deflate_copy when deflateCopy is cal...Nathan Moinvaziri2019-10-071-0/+2
* Fixed warnings in checksum fuzzer and example. #418Nathan Moinvaziri2019-09-201-6/+6
* In test_deflate_copy(), we free the original struct but forget to free the co...Hans Kristian Rosbach2019-09-191-1/+4
* Fixed several warnings in example and fuzzers. #409Nathan Moinvaziri2019-09-191-6/+6
* Add test cases to #437jiangjufa2019-09-151-3/+344
* Add two new public zng_deflate{Set,Get}Params() functionsIlya Leoshkevich2019-07-181-5/+60
* Remove duplicate gz functions in test code (#348)Nathan Moinvaziri2019-06-221-14/+3
* Fix building with gcc 8.2.1 and -Wall -Wextra -pedantic -WerrorIlya Leoshkevich2019-03-271-0/+3
* fix bug #289: use strcpy instead of strncpySebastian Pop2019-01-241-2/+1
* fix several memory sanitizer errors on aarch64Sebastian Pop2019-01-101-4/+12
* Fix test/example.c when compiled with ASANSebastian Pop2018-11-071-2/+5
* Move private defines from zconf.h and zconf-ng.h to zbuild.hMika Lindqvist2018-03-221-2/+1
* [MSVC] Fix size_t/ssize_t when using ZLIB_COMPAT. (#161)Mika Lindqvist2018-03-221-11/+13
* Adapt code to support PREFIX macros and update build scriptsMika Lindqvist2018-01-311-69/+74
* test/example.c: Don't mix unsigned long and size_t.Mika Lindqvist2017-02-231-2/+2
* zlib 1.2.9Mark Adler2017-02-091-1/+1
* Make globals in examples local to compilation unit.Mark Adler2017-02-011-3/+3
* Replace Z_NULL with NULL. Fix incorrect uses of NULL/Z_NULL.Mika Lindqvist2017-01-311-3/+3