cvs: pecl /phar phar.c
| From: | Antony Dovgal | Date: | Thu, 07 Feb 2008 08:45:43 +0000 |
| Subject: | cvs: pecl /phar phar.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-9675@lists.php.net to get a copy of this message | ||
tony2001 Thu Feb 7 08:45:43 2008 UTC
Modified files:
/pecl/phar phar.c
Log:
remove old code leftover causing problems
http://cvs.php.net/viewvc.cgi/pecl/phar/phar.c?r1=1.284&r2=1.285&diff_format=u
Index: pecl/phar/phar.c
diff -u pecl/phar/phar.c:1.284 pecl/phar/phar.c:1.285
--- pecl/phar/phar.c:1.284 Fri Feb 1 11:25:10 2008
+++ pecl/phar/phar.c Thu Feb 7 08:45:42 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: phar.c,v 1.284 2008/02/01 11:25:10 tony2001 Exp $ */
+/* $Id: phar.c,v 1.285 2008/02/07 08:45:42 tony2001 Exp $ */
#define PHAR_MAIN 1
#include "phar_internal.h"
@@ -2488,7 +2488,6 @@
{
zend_op_array *res;
char *name = NULL;
- char *fname = NULL;
int failed;
zend_op_array *(*save)(zend_file_handle *file_handle, int type TSRMLS_DC);
phar_archive_data *phar;
@@ -2496,7 +2495,6 @@
save = zend_compile_file; /* restore current handler or we cause trouble */
zend_compile_file = phar_orig_compile_file;
- fname = zend_get_executed_filename(TSRMLS_C);
if (strstr(file_handle->filename, ".phar") &&
!strstr(file_handle->filename, "://")) {
if (SUCCESS == phar_open_filename(file_handle->filename, strlen(file_handle->filename),
NULL, 0, 0, &phar, NULL TSRMLS_CC)) {
if (phar->is_zip || phar->is_tar) {
@@ -2687,7 +2685,7 @@
php_info_print_table_header(2, "Phar: PHP Archive support", "enabled");
php_info_print_table_row(2, "Phar EXT version", PHAR_EXT_VERSION_STR);
php_info_print_table_row(2, "Phar API version", PHAR_API_VERSION_STR);
- php_info_print_table_row(2, "CVS revision", "$Revision: 1.284 $");
+ php_info_print_table_row(2, "CVS revision", "$Revision: 1.285 $");
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");