diff options
author | Ondřej Surý <ondrej@sury.org> | 2014-12-21 19:07:19 +0100 |
---|---|---|
committer | Ondřej Surý <ondrej@sury.org> | 2014-12-21 19:07:19 +0100 |
commit | 60fede4c90746ef3408ed27a15dd405b3a46a83b (patch) | |
tree | 068e6a8018345664b5d0e8d838995a4a3e97cc3d /ext/zlib/zlib.c | |
parent | f40f1ce174885cd0f526c003eca3fa523e0ef269 (diff) | |
download | php-upstream/5.6.4+dfsg.tar.gz |
New upstream version 5.6.4+dfsgupstream/5.6.4+dfsg
Diffstat (limited to 'ext/zlib/zlib.c')
-rw-r--r-- | ext/zlib/zlib.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c index 705fb5dd5..25804597b 100644 --- a/ext/zlib/zlib.c +++ b/ext/zlib/zlib.c @@ -34,6 +34,18 @@ #include "ext/standard/php_string.h" #include "php_zlib.h" +/* + * zlib include files can define the following preprocessor defines which rename + * the corresponding PHP functions to gzopen64, gzseek64 and gztell64 and thereby + * breaking some software, most notably PEAR's Archive_Tar, which halts execution + * without error message on gzip compressed archivesa. + * + * This only seems to happen on 32bit systems with large file support. + */ +#undef gzopen +#undef gzseek +#undef gztell + ZEND_DECLARE_MODULE_GLOBALS(zlib); /* {{{ Memory management wrappers */ |