cellog Thu Jun 12 04:57:24 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/phar func_interceptors.c
Log:
fix error messages
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/func_interceptors.c?r1=1.20.2.1&r2=1.20.2.2&diff_format=u
Index: php-src/ext/phar/func_interceptors.c
diff -u php-src/ext/phar/func_interceptors.c:1.20.2.1
php-src/ext/phar/func_interceptors.c:1.20.2.2
--- php-src/ext/phar/func_interceptors.c:1.20.2.1 Wed May 14 21:29:50 2008
+++ php-src/ext/phar/func_interceptors.c Thu Jun 12 04:57:24 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: func_interceptors.c,v 1.20.2.1 2008/05/14 21:29:50 sfox Exp $ */
+/* $Id: func_interceptors.c,v 1.20.2.2 2008/06/12 04:57:24 cellog Exp $ */
#include "phar_internal.h"
@@ -102,7 +102,7 @@
}
/* Parse arguments */
if (zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET, ZEND_NUM_ARGS()
TSRMLS_CC, "s|br!ll", &filename, &filename_len, &use_include_path, &zcontext,
&offset, &maxlen) == FAILURE) {
- return;
+ goto skip_phar;
}
if (use_include_path || (!IS_ABSOLUTE_PATH(filename, filename_len) &&
!strstr(filename, "://"))) {
char *arch, *entry, *fname;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php