summaryrefslogtreecommitdiff
path: root/amiga (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-08-17Use original make and options when Makefile runs make.Mark Adler1-2/+2
Also avoid the use of the -C option for non-GNU make.
2023-08-17Avoid uninitialized and unused warnings in contrib/minizip.Mark Adler2-2/+8
2023-08-17Fix typo in preceding reversion commit.Mark Adler1-1/+1
2023-08-17Revert flipping of load flags in Makefile.in for z/OS.Mark Adler1-6/+6
It looked innocuous enough and worked on macOS, but failed on Ubuntu.
2023-08-17Look for a cross-compile libtool first in configure.OldWorldOrdr1-1/+3
Permit cross-compilation for Darwin.
2023-08-17Avoid cmake deprecation warning.Bruno S Marques1-1/+1
2023-08-17Clarify requirement in zlib.h to avoid multiple flush markers.Mark Adler1-2/+2
2023-08-17Move load flags before object file in Makefile.in for Z/OS.Mark Adler1-6/+6
2023-08-17Add license to contrib/untgz.Bastian Germann1-0/+16
A zlib license was agreed to by the authors.
2023-08-17zlib now uses ANSI C function prototypes, so zlib2ansi not needed.Mark Adler1-152/+0
2023-08-14Fix bug when using gzflush() with a very small buffer.Mark Adler1-2/+2
2023-08-14Fix typos in contrib/ada.Dimitri Papadopoulos2-3/+3
2023-08-13Remove redundant includes in minizip.Mark Adler2-4/+0
2023-08-13Remove TRYFREE macro from minizip.Mark Adler2-25/+19
2023-08-13Replace gcc-9 with gcc-11 for macOS testing.Dimitri Papadopoulos2-2/+2
At some point, macos-latest stopped supporting gcc-9, and moved to gcc-11 and gcc-12.
2023-08-12Suppress MSAN detections in deflate's slide_hash().Andrzej Hunt1-0/+5
slide_hash() knowingly reads potentially uninitialized memory, see comment lower down about prev[n] potentially being garbage. In this case, the result is never used.
2023-08-12Add memory sanitizer to configure (--memory).Mark Adler1-5/+11
This also adds --address for the address sanitizer, in addition to the existing --sanitizer. -fno-omit-frame-pointer has been added for both sanitizers to improve the error reporting.
2023-08-11Fix bug when gzungetc() is used immediately after gzopen().Mark Adler1-0/+4
2023-08-03Fix some spelling errors.Dimitri Papadopoulos13-17/+17
2023-08-03Add minizip testing to Makefile.Mark Adler1-1/+7
2023-08-03Read multiple bytes instead of byte-by-byte in minizip unzip.c.Eugene Golushkov1-96/+38
Use a single ZREAD64 call in the unz64local_getShort/Long/Long64 implementation, rather than read it byte by byte.
2023-08-03Support Haiku in minizip.Gilles Vollant4-4/+4
2023-08-03Correct dummy filetime() prototype in minizip.c.Xiang Xiao1-1/+1
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2023-07-29Match sign of printf directive to sign of argument in testzlib.Mark Adler1-1/+1
2023-07-29Match sign of printf directive to sign of argument in minizip.Mark Adler1-1/+1
2023-07-29Fix logic error in minizip argument processing.Mark Adler1-1/+1
2023-07-29Fix typos found by codespell in minizipDimitri Papadopoulos8-36/+36
2023-07-29Fix reading disk number start on zip64 files in minizip.Mark Adler1-4/+2
2023-07-29Remove duplicated code #806Gilles Vollant1-1/+0
2023-07-29minizip: Fix being unable to open empty zip fileRedworkDE1-22/+26
2023-07-29Avoid compiler complaints if _TIME_BITS defined when building zlib.Mark Adler1-3/+2
zlib does not use time_t, so _TIME_BITS is irrelevant. However it may be defined anyway as part of a sledgehammer indiscriminately applied to all builds.
2023-07-10Document in zlib.h the initialization of stream fields by the InitMark Adler1-3/+5
and Reset functions.
2023-05-16Correct comment in zlib.h on os setting in gzip header.Mark Adler1-2/+3
The comment said that the os is set to 255, when in fact it has been set to the current os since zlib 1.2.3. Or at least our best guess at the os made at compile time.
2023-05-01Remove duplicate "the" in zlib.h.Paul Marquess1-1/+1
2023-05-01Update Java and Perl links in README.Mark Adler1-5/+4
2023-04-18Fix test/example.c to work with FORCE_STORED.Mark Adler1-5/+5
2023-04-17Fix warnings on test/infcover.c.Mark Adler1-2/+3
2023-04-17Fix cast in minizip's ioapi.c for Windows.Mark Adler1-1/+1
2023-04-17No include file is needed for __int64 type on Windows.Mark Adler3-3/+3
2023-04-15Remove use of OF() from contrib/untgz and render it compilable.Mark Adler1-35/+12
2023-04-15Remove K&R function definitions from contrib/minizip.Mark Adler12-759/+514
2023-04-15Remove K&R function definitions from infback9.Mark Adler4-37/+20
2023-04-15Remove K&R function definitions from zlib.Mark Adler24-1644/+931
C2X has removed K&R definitions from the C function syntax. Though the standard has not yet been approved, some high-profile compilers are now issuing warnings when such definitions are encountered.
2023-04-13Turn off C2X warning about deprecated K&R function syntax.Mark Adler1-2/+2
This is a temporary workaround before excising the K&R prototypes.
2023-04-13Add a NOPRIME #define to zran.c to not use inflatePrime().Mark Adler1-2/+91
This supports zlib versions earlier than 1.2.3 (July 2005), as well as incomplete clones of zlib that do not have inflatePrime().
2023-02-18Rewrite of zran in examples. See version history in zran.c.Mark Adler2-372/+348
2023-02-17Assure that inflatePrime() can't shift a 32-bit integer by 32 bits.Mark Adler1-0/+2
The inflate() functions never leave state->bits greater than 24, so an inflatePrime() call could not cause this. The only way this could have happened would be by using inflatePrime() to fill the bit buffer with 32 bits, and then calling inflatePrime() a *second* time asking to insert zero bits, for some reason. This commit assures that a shift by 32 bits does not occur even in that case.
2023-01-25Make z_size_t 64 bits when compiling on Windows with Z_SOLO.Mark Adler3-3/+15
Z_SOLO defines z_size_t as an unsigned long. However Windows and MinGW-w64 are LLP64, where a long is 32 bits, but a size_t is 64 bits. This makes z_size_t, used by adler32_z() and crc32_z(), 64 bits on those systems.
2023-01-24Update zlib_how.html to match the web page, and add a license.Mark Adler1-11/+15
2022-12-26Fix crash when gzsetparams() attempted for transparent write.Mark Adler1-1/+1
gzsetparams() now returns a Z_STREAM_ERROR in this case.