cellog Sun Aug 31 06:09:38 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/phar phar.c
Log:
remove unused variables, merge from pecl/phar
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar.c?r1=1.370.2.40&r2=1.370.2.41&diff_format=u
Index: php-src/ext/phar/phar.c
diff -u php-src/ext/phar/phar.c:1.370.2.40 php-src/ext/phar/phar.c:1.370.2.41
--- php-src/ext/phar/phar.c:1.370.2.40 Thu Aug 21 05:17:26 2008
+++ php-src/ext/phar/phar.c Sun Aug 31 06:09:37 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: phar.c,v 1.370.2.40 2008/08/21 05:17:26 cellog Exp $ */
+/* $Id: phar.c,v 1.370.2.41 2008/08/31 06:09:37 cellog Exp $ */
#define PHAR_MAIN 1
#include "phar_internal.h"
@@ -2305,7 +2305,6 @@
int phar_open_executed_filename(char *alias, int alias_len, char **error
TSRMLS_DC) /* {{{ */
{
char *fname;
- long halt_offset;
zval *halt_constant;
php_stream *fp;
int fname_len;
@@ -2340,7 +2339,6 @@
return FAILURE;
}
- halt_offset = Z_LVAL(*halt_constant);
FREE_ZVAL(halt_constant);
#if PHP_MAJOR_VERSION < 6
@@ -3734,7 +3732,7 @@
php_info_print_table_header(2, "Phar: PHP Archive support", "enabled");
php_info_print_table_row(2, "Phar EXT version", PHP_PHAR_VERSION);
php_info_print_table_row(2, "Phar API version", PHP_PHAR_API_VERSION);
- php_info_print_table_row(2, "CVS revision", "$Revision: 1.370.2.40 $");
+ php_info_print_table_row(2, "CVS revision", "$Revision: 1.370.2.41 $");
php_info_print_table_row(2, "Phar-based phar archives", "enabled");
php_info_print_table_row(2, "Tar-based phar archives", "enabled");
php_info_print_table_row(2, "ZIP-based phar archives", "enabled");
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php