Commit Graph

7 Commits

Author SHA1 Message Date
Dimitri Papadopoulos
97538a5e4d Fix a couple typos found by codespell 2024-06-12 14:06:37 +02:00
Mark Adler
4fe59efbe0 zlib 1.3.1
madler/zlib#51b7f2abdade71cd9bb0e7a373ef2610ec6f9daf
2024-02-07 19:15:56 +01:00
Nathan Moinvaziri
b047c7247f Prefix shared functions to prevent symbol conflict when linking native api against compat api. 2023-01-09 15:10:11 +01:00
Ilya Leoshkevich
9be98893aa Use PREFIX() for some of the Z_INTERNAL symbols
https://github.com/powturbo/TurboBench links zlib and zlib-ng into the
same binary, causing non-static symbol conflicts. Fix by using PREFIX()
for flush_pending(), bi_reverse(), inflate_ensure_window() and all of
the IBM Z symbols.

Note: do not use an explicit zng_, since one of the long-term goals is
to be able to link two versions of zlib-ng into the same binary for
benchmarking [1].

[1] https://github.com/zlib-ng/zlib-ng/pull/1248#issuecomment-1096648932
2022-04-27 10:37:43 +02:00
Nathan Moinvaziri
3f5801f151 Use MIN and MAX macros. 2021-06-13 20:56:06 +02:00
Nathan Moinvaziri
d4dd539d1c Clean up deflate_stored and deflate_rle by using MIN() where applicable. 2021-06-12 19:34:42 +02:00
Nathan Moinvaziri
156be5cf0f Separate huff, rle, and stored deflate strategies into their own source files. 2021-06-12 19:34:42 +02:00