iliaa Tue Nov 27 17:13:18 2007 UTC Modified files: (Branch: PHP_5_3) /php-src/ext/pcntl pcntl.c Log: Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error) http://cvs.php.net/viewvc.cgi/php-src/ext/pcntl/pcntl.c?r1=1.48.2.2.2.4.2.1&r2=1.48.2.2.2.4.2.2&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.1 php-src/ext/pcntl/pcntl.c:1.48.2.2.2.4.2.2 --- php-src/ext/pcntl/pcntl.c:1.48.2.2.2.4.2.1 Thu Sep 27 18:00:42 2007 +++ php-src/ext/pcntl/pcntl.c Tue Nov 27 17:13:18 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pcntl.c,v 1.48.2.2.2.4.2.1 2007/09/27 18:00:42 dmitry Exp $ */ +/* $Id: pcntl.c,v 1.48.2.2.2.4.2.2 2007/11/27 17:13:18 iliaa Exp $ */ #define PCNTL_DEBUG 0 @@ -225,7 +225,7 @@ id = fork(); if (id == -1) { - php_error_docref(NULL TSRMLS_CC, E_ERROR, "Error %d", errno); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "Error %d", errno); } RETURN_LONG((long) id);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php