Patch gzopen64 for Zlib related Bug #53829
Patch version 2012-08-26 10:57 UTC
Return to Bug #53829 |
Download this patch
Patch Revisions:
Developer: comments@sentfrom.com
--- php-5.4.6/ext/zlib/zlib.c.dist Tue Aug 14 21:26:05 2012
+++ php-5.4.6/ext/zlib/zlib.c Sun Aug 26 03:49:01 2012
@@ -841,7 +841,11 @@
PHP_FALIAS(gzgets, fgets, arginfo_gzgets)
PHP_FALIAS(gzgetss, fgetss, arginfo_gzgetss)
PHP_FALIAS(gzread, fread, arginfo_gzread)
+#ifdef gzopen
+ ZEND_RAW_FENTRY("gzopen", ZEND_FN(gzopen64), arginfo_gzopen, 0)
+#else
PHP_FE(gzopen, arginfo_gzopen)
+#endif
PHP_FALIAS(gzpassthru, fpassthru, arginfo_gzpassthru)
PHP_FALIAS(gzseek, fseek, arginfo_gzseek)
PHP_FALIAS(gztell, ftell, arginfo_gzpassthru)
|