pajoye Tue Sep 12 12:02:49 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/zip php_zip.c
Log:
- PECL Bug #8676, addFile was not updated and still used VCWD_REALPATH,
it now uses expand_filepath
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.1.2.12&r2=1.1.2.13&diff_format=u
Index: php-src/ext/zip/php_zip.c
diff -u php-src/ext/zip/php_zip.c:1.1.2.12 php-src/ext/zip/php_zip.c:1.1.2.13
--- php-src/ext/zip/php_zip.c:1.1.2.12 Wed Sep 6 17:38:36 2006
+++ php-src/ext/zip/php_zip.c Tue Sep 12 12:02:49 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_zip.c,v 1.1.2.12 2006/09/06 17:38:36 pajoye Exp $ */
+/* $Id: php_zip.c,v 1.1.2.13 2006/09/12 12:02:49 pajoye Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -996,7 +996,7 @@
RETURN_FALSE;
}
- if (!VCWD_REALPATH(filename, resolved_path)) {
+ if (!expand_filepath(filename, resolved_path TSRMLS_CC)) {
RETURN_FALSE;
}
@@ -1983,7 +1983,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "Zip", "enabled");
- php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v
1.1.2.12 2006/09/06 17:38:36 pajoye Exp $");
+ php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v
1.1.2.13 2006/09/12 12:02:49 pajoye Exp $");
php_info_print_table_row(2, "Zip version", "2.0.0");
php_info_print_table_row(2, "Libzip version", "0.7.1");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php