lbarnaud Fri Sep 12 19:49:18 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/pcntl pcntl.c Log: MFH: initialize optional args http://cvs.php.net/viewvc.cgi/php-src/ext/pcntl/pcntl.c?r1=1.48.2.2.2.4.2.9&r2=1.48.2.2.2.4.2.10&diff_format=u Index: php-src/ext/pcntl/pcntl.c diff -u php-src/ext/pcntl/pcntl.c:1.48.2.2.2.4.2.9 php-src/ext/pcntl/pcntl.c:1.48.2.2.2.4.2.10 --- php-src/ext/pcntl/pcntl.c:1.48.2.2.2.4.2.9 Tue Aug 5 15:12:19 2008 +++ php-src/ext/pcntl/pcntl.c Fri Sep 12 19:49:18 2008 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pcntl.c,v 1.48.2.2.2.4.2.9 2008/08/05 15:12:19 jani Exp $ */ +/* $Id: pcntl.c,v 1.48.2.2.2.4.2.10 2008/09/12 19:49:18 lbarnaud Exp $ */ #define PCNTL_DEBUG 0 @@ -602,7 +602,7 @@ Executes specified program in current process space as defined by exec(2) */ PHP_FUNCTION(pcntl_exec) { - zval *args, *envs; + zval *args = NULL, *envs = NULL; zval **element; HashTable *args_hash, *envs_hash; int argc = 0, argi = 0;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php