pajoye          Sat Aug 26 12:29:59 2006 UTC

  Modified files:              
    /php-src/ext/zip    php_zip.c 
  Log:
  - MFB: don't rely/use VCWD_REALPATH, use expand_filepath instead
    NB: that'd to be true for all this VCWD mess
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.9&r2=1.10&diff_format=u
Index: php-src/ext/zip/php_zip.c
diff -u php-src/ext/zip/php_zip.c:1.9 php-src/ext/zip/php_zip.c:1.10
--- php-src/ext/zip/php_zip.c:1.9       Fri Aug 25 16:03:50 2006
+++ php-src/ext/zip/php_zip.c   Sat Aug 26 12:29:59 2006
@@ -16,7 +16,7 @@
   +----------------------------------------------------------------------+
 */
 
-/* $Id: php_zip.c,v 1.9 2006/08/25 16:03:50 pajoye Exp $ */
+/* $Id: php_zip.c,v 1.10 2006/08/26 12:29:59 pajoye Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -882,7 +882,7 @@
                RETURN_FALSE;
        }
 
-       if (!VCWD_REALPATH(filename, resolved_path)) {
+       if(!expand_filepath(filename, resolved_path TSRMLS_CC)) {
                RETURN_FALSE;
        }
 
@@ -1956,7 +1956,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.9 
2006/08/25 16:03:50 pajoye Exp $");
+       php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.10 
2006/08/26 12:29:59 pajoye Exp $");
        php_info_print_table_row(2, "Zip version", "1.7.1");
        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

Reply via email to