1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Files
archived-php-src/ext/zlib/tests
Daniel Lowrey c488172975 Improve ZBLOCK handling with zlib < 1.2.4
The original commit for this issue (62b1293) assumed Z_BLOCK was
only defined in < 1.2.4. However, this flush type *is* defined but
is only unavailable for use with deflate().

This new commit correctly checks the ZLIB_VERNUM constant to
determine if Z_BLOCK flush is available for the current deflate()
operation and triggers an appropriate error as needed.

New ZLIB_VERSION and ZLIB_VERNUM constants are also exposed in
userland to allow testing this behavior in environments running
zlib < 1.2.4 (ZLIB_VERNUM check is needed).
2015-05-07 10:31:41 -04:00
..
2004-05-19 08:45:46 +00:00
2006-06-26 23:35:22 +00:00
2010-03-12 10:28:59 +00:00
2012-09-03 13:37:34 +02:00
2012-09-03 13:37:34 +02:00
2012-03-27 18:16:02 +02:00
2013-06-17 01:06:20 -07:00
2012-04-24 20:35:49 +02:00
2012-04-24 19:50:00 +02:00
2014-08-05 15:44:43 +02:00
2014-08-05 15:44:43 +02:00
2010-01-19 12:42:50 +00:00
2007-06-18 10:02:12 +00:00
2011-09-08 10:14:38 +00:00
2013-06-10 13:36:17 -07:00
2013-06-10 13:36:17 -07:00
2013-06-10 13:36:17 -07:00
2013-06-10 13:36:17 -07:00
2013-06-10 13:36:17 -07:00
2013-06-10 13:36:17 -07:00
2013-06-10 13:36:17 -07:00
2015-04-12 20:55:35 -07:00
2011-08-31 04:24:48 +00:00
2011-08-31 04:24:48 +00:00
2011-08-31 04:24:48 +00:00
2015-04-12 20:55:35 -07:00
2015-04-12 20:55:35 -07:00