com php-src: Merge branch 'PHP-7.0': ext/zip/php_zip.h
| From: | Remi Collet | Date: | Tue, 21 Jun 2016 09:17:08 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.0': ext/zip/php_zip.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92554@lists.php.net to get a copy of this message | ||
Commit: 8726de48c8c3b276607166c7ec3fdd07fb47377e
Author: Remi Collet <remi@php.net> Tue, 21 Jun 2016 11:17:08 +0200
Parents: d9a4b7cc2446f23107e9c8a0ec4637b447be5dfa 69fd1133d08b6ee150825640c99f6937a560ae69
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8726de48c8c3b276607166c7ec3fdd07fb47377e
Log:
Merge branch 'PHP-7.0'
* PHP-7.0:
bump zip version
Changed paths:
MM ext/zip/php_zip.h
Diff:
diff --cc ext/zip/php_zip.h
index ad65fde,00b08b4..5c98ea1
--- a/ext/zip/php_zip.h
+++ b/ext/zip/php_zip.h
@@@ -37,9 -37,24 +37,9 @@@ extern zend_module_entry zip_module_ent
#define ZIP_OVERWRITE ZIP_TRUNCATE
#endif
- #define PHP_ZIP_VERSION "1.13.2"
+ #define PHP_ZIP_VERSION "1.13.3"
-#ifndef Z_SET_REFCOUNT_P
-# if PHP_MAJOR_VERSION < 6 && (PHP_MAJOR_VERSION == 5 && PHP_MINOR_VERSION <
3)
-# define Z_SET_REFCOUNT_P(pz, rc) pz->refcount = rc
-# define Z_UNSET_ISREF_P(pz) pz->is_ref = 0
-# endif
-#endif
-
-/* {{{ ZIP_OPENBASEDIR_CHECKPATH(filename) */
-#if PHP_API_VERSION < 20100412
-# define ZIP_OPENBASEDIR_CHECKPATH(filename) \
- (PG(safe_mode) && (!php_checkuid(filename, NULL, CHECKUID_CHECK_FILE_AND_DIR))) ||
php_check_open_basedir(filename)
-#else
-#define ZIP_OPENBASEDIR_CHECKPATH(filename) \
- php_check_open_basedir(filename)
-#endif
-/* }}} */
+#define ZIP_OPENBASEDIR_CHECKPATH(filename) php_check_open_basedir(filename)
typedef struct _ze_zip_rsrc {
struct zip *za;