- 25 3月, 2013 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 24 2月, 2013 1 次提交
-
-
由 Mark Adler 提交于
Suggested by E. Timothy Uy.
-
- 04 6月, 2012 1 次提交
-
-
由 Mark Adler 提交于
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.
-
- 18 3月, 2012 1 次提交
-
-
由 Mark Adler 提交于
-
- 17 3月, 2012 1 次提交
-
-
由 Mark Adler 提交于
-
- 03 3月, 2012 1 次提交
-
-
由 Mark Adler 提交于
-
- 20 2月, 2012 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 19 2月, 2012 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
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.
-
- 30 1月, 2012 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 19 1月, 2012 1 次提交
-
-
由 Mark Adler 提交于
-
- 12 12月, 2011 1 次提交
-
-
由 Mark Adler 提交于
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.
-
- 11 12月, 2011 1 次提交
-
-
由 Mark Adler 提交于
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.
-
- 22 11月, 2011 1 次提交
-
-
由 Mark Adler 提交于
-
- 20 11月, 2011 1 次提交
-
-
由 Mark Adler 提交于
-
- 03 10月, 2011 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
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.
-
- 01 10月, 2011 1 次提交
-
-
由 Mark Adler 提交于
-
- 27 9月, 2011 2 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
- 10 9月, 2011 9 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-