nlopess Wed Sep 6 15:19:41 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/zip php_zip.c
Log:
MFH zend_parse_parameters() fixes
http://cvs.php.net/viewvc.cgi/php-src/ext/zip/php_zip.c?r1=1.1.2.9&r2=1.1.2.10&diff_format=u
Index: php-src/ext/zip/php_zip.c
diff -u php-src/ext/zip/php_zip.c:1.1.2.9 php-src/ext/zip/php_zip.c:1.1.2.10
--- php-src/ext/zip/php_zip.c:1.1.2.9 Wed Sep 6 13:03:55 2006
+++ php-src/ext/zip/php_zip.c Wed Sep 6 15:19:41 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_zip.c,v 1.1.2.9 2006/09/06 13:03:55 pajoye Exp $ */
+/* $Id: php_zip.c,v 1.1.2.10 2006/09/06 15:19:41 nlopess Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1230,7 +1230,7 @@
{
struct zip *intern;
zval *this = getThis();
- long comment_len = 0;
+ int comment_len;
char * comment;
if (!this) {
@@ -1283,7 +1283,7 @@
{
struct zip *intern;
zval *this = getThis();
- long comment_len = 0, name_len = 0;
+ int comment_len, name_len;
char * comment, *name;
struct zip_stat sb;
@@ -1311,7 +1311,8 @@
{
struct zip *intern;
zval *this = getThis();
- long index, comment_len = 0;
+ long index;
+ int comment_len;
char * comment;
struct zip_stat sb;
@@ -1338,7 +1339,8 @@
{
struct zip *intern;
zval *this = getThis();
- long name_len = 0, flags = 0;
+ int name_len;
+ long flags = 0;
int comment_len = 0;
const char * comment;
char *name;
@@ -1428,8 +1430,8 @@
{
struct zip *intern;
zval *this = getThis();
- long name_len = 0;
- char *name;
+ int name_len;
+ char *name;
struct zip_stat sb;
if (!this) {
@@ -1981,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.9 2006/09/06 13:03:55 pajoye Exp $");
+ php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v
1.1.2.10 2006/09/06 15:19:41 nlopess 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