iliaa Tue Feb 24 23:55:24 2009 UTC
Modified files:
/php-src/ext/zip php_zip.c
Log:
MFB: Adjust previous fix
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.71&r2=1.72&diff_format=u
Index: php-src/ext/zip/php_zip.c
diff -u php-src/ext/zip/php_zip.c:1.71 php-src/ext/zip/php_zip.c:1.72
--- php-src/ext/zip/php_zip.c:1.71 Sun Feb 22 17:55:01 2009
+++ php-src/ext/zip/php_zip.c Tue Feb 24 23:55:24 2009
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_zip.c,v 1.71 2009/02/22 17:55:01 iliaa Exp $ */
+/* $Id: php_zip.c,v 1.72 2009/02/24 23:55:24 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -779,6 +779,7 @@
} else {
if (hnd->read_const_char_from_obj_func) {
retchar =
hnd->read_const_char_from_obj_func(obj TSRMLS_CC);
+ len = strlen(retchar);
}
}
}
@@ -2747,7 +2748,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.71
2009/02/22 17:55:01 iliaa Exp $");
+ php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.72
2009/02/24 23:55:24 iliaa Exp $");
php_info_print_table_row(2, "Zip version", PHP_ZIP_VERSION_STRING);
php_info_print_table_row(2, "Libzip version", "0.9.0");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php