cvs: pecl /phar phar_object.c
| From: | Greg Beaver | Date: | Sun, 23 Mar 2008 17:36:57 +0000 |
| Subject: | cvs: pecl /phar phar_object.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10034@lists.php.net to get a copy of this message | ||
cellog Sun Mar 23 17:36:57 2008 UTC
Modified files:
/pecl/phar phar_object.c
Log:
fix param parsing for Phar::running() to be optional
# this is the last bug for ZF app - it now works!
http://cvs.php.net/viewvc.cgi/pecl/phar/phar_object.c?r1=1.188&r2=1.189&diff_format=u
Index: pecl/phar/phar_object.c
diff -u pecl/phar/phar_object.c:1.188 pecl/phar/phar_object.c:1.189
--- pecl/phar/phar_object.c:1.188 Sun Mar 23 06:00:29 2008
+++ pecl/phar/phar_object.c Sun Mar 23 17:36:56 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: phar_object.c,v 1.188 2008/03/23 06:00:29 cellog Exp $ */
+/* $Id: phar_object.c,v 1.189 2008/03/23 17:36:56 cellog Exp $ */
#include "phar_internal.h"
#include "func_interceptors.h"
@@ -435,7 +435,7 @@
int fname_len, arch_len, entry_len;
zend_bool retphar = 1;
- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "b", &retphar) == FAILURE) {
+ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &retphar) == FAILURE) {
return;
}