aboutsummaryrefslogtreecommitdiff
path: root/examples/zpipe.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2024-12-30Fix indent in infback.c.Mark Adler1-1/+1
2024-11-08Reject invalid MAX_WBITS values at compile time.Mark Adler1-1/+3
2024-10-13Avoid attempting to redefine z_const in zconf.h.AlexisWilke3-12/+18
2024-10-07Add Haiku to configure for proper LDSHARED settings.Oscar Lesta1-1/+1
2024-09-01Repair github workflows for their updated macOS runner gcc name.Mark Adler2-2/+2
2024-09-01Avoid out-of-bounds pointer arithmetic in inflateCopy().Mark Adler1-1/+1
Though it does not matter for code correctness, clang's UBSan injects code that complains about computing a pointer from an array where the result is out-of-bounds for that array, even though the pointer is never dereferenced. Go figure. This commit avoids that possibility when computing distcode in inflateCopy().
2024-09-01Remove unneeded dependency on limits.h in examples/zran.c.Mark Adler1-4/+4
2024-09-01Avoid the use of a reserved macro name in contrib/minizip/ioapi.h.Mark Adler1-2/+2
2024-07-31Add old gcc ULONG_LONG_MAX macro to find a 64-bit type in zutil.h.Mark Adler1-0/+2
2024-07-31Add header file dependencies to contrib/minizip/Makefile.Mark Adler1-3/+11
2024-07-31Avoid use of stdint.h in contrib/minizip.Mark Adler5-51/+90
2024-07-29Avoid use of uintmax_t in enough.c.Mark Adler1-12/+12
2024-07-29Add required gzguts.h dependencies in Makefile.in.Meiye-lj1-4/+6
2024-07-11Fix test/infcover.c function prototype when ZLIB_CONST defined.Mark Adler1-2/+2
2024-07-05One more correction for deflateUsed() bits in stored case.Mark Adler1-0/+2
2024-07-05Correct used bits from deflateUsed() for deflate_stored() case.Mark Adler1-1/+3
2024-07-01Add deflateUsed() function to get the used bits in the last byte.Mark Adler17-178/+239
This returns the number of used bits in the last byte of a stream that has just been compressed with deflate.
2024-06-28Add build folder to .gitignore.Ram Shanker1-0/+1
A library is usually expected to be built in a folder /build at its root. Whenever this repository is added as a submodule of another project and compiled, git shows all the generated files as changes. To suppress those git messages, this ignores the build folder.
2024-06-04Remedy conflict between libzip and minizip zip.h.Mark Adler1-1/+1
minizip.pc.in would add @include@/minizip to the include path, which would permit simply #include <zip.h> to use minizip. However that conflicts with the zip.h from libzip that is put in the root include directory. This now does not add /minizip to the include path. Now when using pkg-config, #include <minizip/zip.h> must be used, where #include <zip.h> would be used for libzip. This is an incompatible change with the previous state. Users of minizip and pkg-config will need to update their code. #include <unzip.h> will need to be updated to #include <minizip/unzip.h> as well.
2024-05-16Correct typo in zlib.h comment.Mark Adler1-5/+5
2024-04-29Replace autotools macro AC_HELP_STRING with AS_HELP_STRING.Matthieu Longo1-1/+1
In minizip's configure.ac. AC_HELP_STRING is obsolete.
2024-04-01Use z_const for setting msg to literal strings.Lwisce Zeng5-58/+58
2024-03-31Make z_off_t 64 bits by default.Mark Adler3-3/+3
2024-03-29Add -fPIC to compiler options for static library build on Android.qyt1-2/+2
2024-03-29Avert minizip warnings for MSVC.Mark Adler5-37/+56
2024-03-22Avoid conversion warning on 32-bit architectures in minizip.Mark Adler1-1/+1
2024-03-22Use long long offsets for MinGW.Mark Adler3-0/+6
2024-03-16Improve detection of UNIX-style systems in minizip.Alexander Miller4-11/+5
Not all toolchains on UNIX-style operating systems predefine "unix". For example, it's missing on NetBSD, OpenBSD/gcc, AIX, HP-UX. There is no single macro defined everywhere, but checking both "__unix__" and "__unix" should cover everything except macOS, which is already checked for using "__APPLE__". Note that case sensitivity should default to off on macOS and cygwin, so the check there is different.
2024-03-15Update old comment in inflate.h.Mark Adler1-1/+1
2024-03-12Avoid signed shift in minizip zip.c.Mark Adler1-1/+1
2024-03-10Improve random number seeding in skipset.h.Mark Adler1-1/+2
2024-03-10Add zipAlreadyThere() to minizip zip.c to help avoid duplicates.Mark Adler3-10/+612
2024-03-09Permit changing minizip Makefile optimization with CFLAGS.Mark Adler1-1/+1
2024-03-09Make deflateBound() more conservative and handle Z_STREAM_END.Mark Adler1-4/+4
2024-02-28Reduce Windows header inclusion to speed up compilation.Mark Adler1-5/+10
2024-02-13Use lseek under WinCE.Mark Adler1-4/+2
2024-02-12Remove conversion warning from msdos/Makefile.dj2.Mark Adler1-1/+1
2024-02-11Correct argument types for 64-bit combine functions.Mark Adler2-8/+7
2024-02-11Use 64-bit offsets in DJGPP.Mark Adler3-15/+15
2024-02-10Include unistd.h on DJGPP.Mark Adler3-18/+6