diff options
| author | Mark Adler <git@madler.net> | 2026-01-04 10:34:44 -0600 |
|---|---|---|
| committer | Mark Adler <git@madler.net> | 2026-01-05 15:03:04 -0600 |
| commit | 916dc1ac351795c9bf86a3d19c3667b014b9d28e (patch) | |
| tree | 08efd9aa0c5387fe80c1ce15a9fdb0ca8e29c01c /zlib.map | |
| parent | fd366384cf324d750596feb03be44ddf4d1e6acd (diff) | |
| download | zlib-916dc1ac351795c9bf86a3d19c3667b014b9d28e.tar.gz zlib-916dc1ac351795c9bf86a3d19c3667b014b9d28e.tar.bz2 zlib-916dc1ac351795c9bf86a3d19c3667b014b9d28e.zip | |
Add compressBound_z and deflateBound_z functions for large values.
These take and return size_t integers, instead of unsigned longs,
for those platforms with 32-bit longs. This commit also assures
that overflows of either integer type results in the maximum value
for that type, instead of wrapping to small values.
Diffstat (limited to 'zlib.map')
| -rw-r--r-- | zlib.map | 7 |
1 files changed, 6 insertions, 1 deletions
| @@ -101,4 +101,9 @@ ZLIB_1.2.12 { | |||
| 101 | 101 | ||
| 102 | ZLIB_1.3.1.2 { | 102 | ZLIB_1.3.1.2 { |
| 103 | deflateUsed; | 103 | deflateUsed; |
| 104 | } ZLIB_1.2.12; \ No newline at end of file | 104 | } ZLIB_1.2.12; |
| 105 | |||
| 106 | ZLIB_1.3.2 { | ||
| 107 | compressBound_z; | ||
| 108 | deflateBound_z; | ||
| 109 | } ZLIB_1.3.1.2; \ No newline at end of file | ||
