cvs: pecl /zip php_zip.c

From: Date: Tue, 03 Oct 2006 19:05:22 +0000
Subject: cvs: pecl /zip php_zip.c
Groups: php.pecl.cvs 
Request: Send a blank email to pecl-cvs+get-6453@lists.php.net to get a copy of this message
tony2001 Tue Oct 3 19:05:22 2006 UTC Modified files: /pecl/zip php_zip.c Log: fix number of arguments in zip_entry_read() and variable types http://cvs.php.net/viewvc.cgi/pecl/zip/php_zip.c?r1=1.78&r2=1.79&diff_format=u Index: pecl/zip/php_zip.c diff -u pecl/zip/php_zip.c:1.78 pecl/zip/php_zip.c:1.79 --- pecl/zip/php_zip.c:1.78 Sun Sep 24 22:34:38 2006 +++ pecl/zip/php_zip.c Tue Oct 3 19:05:21 2006 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_zip.c,v 1.78 2006/09/24 22:34:38 pajoye Exp $ */ +/* $Id: php_zip.c,v 1.79 2006/10/03 19:05:21 tony2001 Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -759,7 +759,7 @@ char *buffer; int n = 0; - if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ll", &zip_entry, &len) == FAILURE) { + if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|l", &zip_entry, &len) == FAILURE) { return; } @@ -1344,8 +1344,8 @@ { struct zip *intern; zval *this = getThis(); - long name_len = 0, flags = 0; - int comment_len; + int name_len = 0, comment_len; + long flags = 0; const char * comment; char *name; struct zip_stat sb; @@ -1434,8 +1434,8 @@ { struct zip *intern; zval *this = getThis(); - long name_len = 0; - char *name; + int name_len = 0; + char *name; struct zip_stat sb; if (!this) { @@ -1990,7 +1990,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.78 2006/09/24 22:34:38 pajoye Exp $"); + php_info_print_table_row(2, "Extension Version","$Id: php_zip.c,v 1.79 2006/10/03 19:05:21 tony2001 Exp $"); php_info_print_table_row(2, "Zip version", "@PACKAGE_VERSION@"); php_info_print_table_row(2, "Libzip version", "0.7.1");

« previous php.pecl.cvs (#6453) next »