- Apr 14, 2019
-
-
Mark Adler authored
-
- Jan 16, 2017
-
-
Mark Adler authored
-
- Jan 01, 2017
-
- Dec 31, 2016
-
-
Mark Adler authored
-
- Oct 26, 2016
-
-
Mark Adler authored
-
- Aug 02, 2015
-
-
Mark Adler authored
-
- Jul 29, 2015
-
-
Mark Adler authored
-
- Jul 06, 2015
-
-
Mark Adler authored
-
- Apr 14, 2013
-
-
Mark Adler authored
-
- Mar 25, 2013
-
- Mar 24, 2013
-
-
Mark Adler authored
-
- Feb 24, 2013
-
-
Mark Adler authored
Suggested by E. Timothy Uy.
-
- Jun 03, 2012
-
-
Mark Adler authored
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.
-
- Mar 18, 2012
-
-
Mark Adler authored
-
- Mar 17, 2012
-
-
Mark Adler authored
-
- Mar 03, 2012
-
-
Mark Adler authored
-
- Feb 20, 2012
-
-
Mark Adler authored
-
Mark Adler authored
-
- Feb 18, 2012
-
-
Mark Adler authored
-
Mark Adler authored
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.
-
- Jan 30, 2012
-
-
Mark Adler authored
-
- Jan 29, 2012
-
- Jan 19, 2012
-
-
Mark Adler authored
-
- Dec 12, 2011
-
-
Mark Adler authored
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.
-
- Dec 11, 2011
-
-
Mark Adler authored
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.
-
- Nov 22, 2011
-
-
Mark Adler authored
-
- Nov 19, 2011
-
-
Mark Adler authored
-
- Oct 02, 2011
-
-
Mark Adler authored
-
Mark Adler authored
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.
-
- Oct 01, 2011
-
-
Mark Adler authored
-
- Sep 27, 2011
-
-
Mark Adler authored
-
Mark Adler authored
-
- Sep 10, 2011
-