aboutsummaryrefslogtreecommitdiff
path: root/gzguts.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Reduce Windows header inclusion to speed up compilation.Mark Adler2024-02-281-5/+10
|
* Further address Microsoft deprecation warnings.Mark Adler2024-02-091-8/+3
|
* Include share.h on Windows for _SH_DENYNO.Mark Adler2024-02-091-0/+1
|
* Address Microsoft deprecation warnings.Mark Adler2024-02-081-2/+7
|
* Assume no snprintf() or vsnprintf() if C89/90 in gzguts.h.Mark Adler2024-02-061-19/+14
| | | | | | Those functions were introduced in C99. However it is assumed that they are there if under Windows, since Visual C claims C89/90, but does have those functions, or variants.
* Use _POSIX_C_SOURCE in gzguts.h, instead of _POSIX_SOURCE.Mark Adler2024-02-061-2/+2
|
* zlib 1.3.1v1.3.1masterMark Adler2024-01-221-1/+1
|
* Make the existence of gz_intmax() unconditional.Milan Bulat2024-01-171-5/+1
| | | | gz_intmax() is noted in zlib.map. This assures it's always there.
* Avoid compiler complaints if _TIME_BITS defined when building zlib.Mark Adler2023-07-291-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.
* Remove K&R function definitions from zlib.Mark Adler2023-04-151-9/+9
| | | | | | | 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.
* zlib 1.2.12v1.2.12Mark Adler2022-03-271-1/+1
|
* Avoid adding empty gzip member after gzflush with Z_FINISH.Mark Adler2019-04-131-0/+1
|
* Cygwin does not have _wopen(), so do not create gzopen_w() there.Mark Adler2017-01-161-1/+1
|
* zlib 1.2.9v1.2.9Mark Adler2016-12-311-1/+1
|
* Use snprintf() for later versions of Microsoft C.Mark Adler2016-12-301-4/+3
|
* Clean up and comment the use of local for static.Mark Adler2016-10-261-1/+3
|
* Compile the gzopen_w() function when __CYGWIN__ defined.Mark Adler2015-08-011-0/+4
|
* Define _POSIX_SOURCE to enable POSIX extensions on some systems.Mark Adler2015-07-281-0/+4
|
* Improve speed of gzprintf() in transparent mode.Mark Adler2015-07-051-1/+1
|
* Add casts in gzwrite.c for pointer differences.Mark Adler2013-04-131-1/+2
|
* zlib 1.2.7.1v1.2.7.1Mark Adler2013-03-241-1/+1
|
* Minor spacing cleanup in a comment in gzguts.h.Mark Adler2013-03-241-1/+1
|
* Use underscored I/O function names for WINAPI_FAMILY.Mark Adler2013-02-231-0/+7
| | | | Suggested by E. Timothy Uy.
* Use _snprintf for snprinf in Microsoft C.Mark Adler2012-06-031-0/+8
| | | | | | | | | | | More than a decade later, Microsoft C does not support the C99 standard. It's good that _snprintf has a different name, since it does not guarantee that the result is null terminated, as does snprintf. However where _snprintf is used under Microsoft C, the destination string is assured to be long enough, so this will not be a problem. This occurs in two places, both in gzlib.c. Where sprintf functionality is needed by gzprintf, vsnprintf is used in the case of Microsoft C.
* Fix gzopen_w() type and add #include for the type.Mark Adler2012-03-171-0/+4
|
* Add gzopen_w() in Windows for wide character path names.Mark Adler2012-03-161-1/+1
|
* Simplify test and use of gcc hidden attribute.Mark Adler2012-03-031-1/+1
|
* Improve the detection of no hidden visibility attribute.Mark Adler2012-02-191-2/+1
|
* Do not use the visibility attribute if NO_VIZ defined.Mark Adler2012-02-191-1/+1
|
* Require gcc 4.0 or later on Mac OS X to use the hidden attribute.Mark Adler2012-02-181-1/+2
|
* Test for existence of strerror.Mark Adler2012-02-181-1/+1
| | | | | | SunOS 4.1 claims that it is __STDC__, but it does not have strerror in string.h. Instead of using __STDC__, this puts a direct test for strerror in configure, and uses that information in gzguts.h.
* Include io.h in gzguts.h for Microsoft compilers.Mark Adler2012-01-291-2/+1
|
* zlib 1.2.6v1.2.6Mark Adler2012-01-291-1/+1
|
* Include io.h for Turbo C / Borland C on all platforms [Truta].Mark Adler2012-01-181-1/+1
|
* Fix gzeof() to behave just like feof() when read is not past end of file.Mark Adler2011-12-111-2/+3
| | | | | | | | Before, gzeof() would return true (accurately) when the last read request went just up to the end of the uncompressed data. In the analogous case, feof() would return false, only returning true when a read request goes past the end of the file. This patch corrects gzeof() to behave in the same way as feof(), as noted in the zlib.h documentation.
* Fix gzwrite.c to accommodate reduced memory zlib compilation.Mark Adler2011-12-101-0/+7
| | | | | | gzwrite.c had hard-coded parameters to deflateInit2() which could contradict compile-time options for the use of less memory and fewer code bits. This patch suggested by Karsten Saunte fixes that.
* Include io.h for Turbo C / Borland C++.Mark Adler2011-11-211-0/+4
|
* Facilitate compilation with Borland C++ for pragmas and vsnprintf.Mark Adler2011-11-191-0/+6
|
* Add a transparent write mode to gzopen() when 'T' is in the mode.Mark Adler2011-10-021-1/+1
|
* Merge vestigial vsnprintf determination from zutil.h to gzguts.h.Mark Adler2011-10-021-3/+42
| | | | | | | | | This also moves some of the same from zconf.h to gzguts.h. A new function, gzflags(), was created to pass the compilation flags related to vsnprintf usage back to zlibCompileFlags() in zutil.c. In the process, various compiler configuration files were updated to include gzflags(), as well as the new gzgetc_() function added when the gzgetc() macro was introduced in a previous patch.
* Update copyright dates on gz* source files.Mark Adler2011-09-301-1/+1
|
* Change gzgetc() to a macro for speed (~40% speedup in testing).Mark Adler2011-09-261-3/+5
|
* Simplify gzseek() now that raw after gzip is ignored.Mark Adler2011-09-261-1/+0
|
* zlib 1.2.4.5v1.2.4.5Mark Adler2011-09-091-4/+8
|
* zlib 1.2.4.3v1.2.4.3Mark Adler2011-09-091-11/+5
|
* zlib 1.2.4.2v1.2.4.2Mark Adler2011-09-091-2/+10
|
* zlib 1.2.4.1v1.2.4.1Mark Adler2011-09-091-11/+5
|
* zlib 1.2.4v1.2.4Mark Adler2011-09-091-1/+1
|
* zlib 1.2.3.8v1.2.3.8Mark Adler2011-09-091-0/+11
|
* zlib 1.2.3.7v1.2.3.7Mark Adler2011-09-091-4/+10
|