- 30 1月, 2012 1 次提交
-
-
由 Mark Adler 提交于
When successful, gzputc would return the second argument. If the second argument were -1, gzputc would return -1 instead of the character written, which was 255. However the -1 would not be distinguishable from an error. Now gzputc returns 255 in that case.
-
- 14 12月, 2011 1 次提交
-
-
由 Mark Adler 提交于
Z_BUF_ERROR was also being used for an unsuccessful gzungetc and for buffer lengths that didn't fit in an int. Those uses were changed to Z_DATA_ERROR in order to assure that Z_BUF_ERROR occurs only when a premature end of input occurs, indicating that gzclearerr() can be used.
-
- 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.
-
- 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 1 次提交
-
-
由 Mark Adler 提交于
-
- 12 9月, 2011 1 次提交
-
-
由 Mark Adler 提交于
-
- 10 9月, 2011 7 次提交
-
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-
由 Mark Adler 提交于
-