lbarnaud Fri Sep 12 19:49:04 2008 UTC
Modified files:
/php-src/ext/pcntl pcntl.c
Log:
initialize optional args
http://cvs.php.net/viewvc.cgi/php-src/ext/pcntl/pcntl.c?r1=1.66&r2=1.67&diff_format=u
Index: php-src/ext/pcntl/pcntl.c
diff -u php-src/ext/pcntl/pcntl.c:1.66 php-src/ext/pcntl/pcntl.c:1.67
--- php-src/ext/pcntl/pcntl.c:1.66 Tue Aug 5 15:12:10 2008
+++ php-src/ext/pcntl/pcntl.c Fri Sep 12 19:49:04 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: pcntl.c,v 1.66 2008/08/05 15:12:10 jani Exp $ */
+/* $Id: pcntl.c,v 1.67 2008/09/12 19:49:04 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