iliaa Tue Nov 27 17:14:27 2007 UTC Modified files: (Branch: PHP_5_2) /php-src/ext/pcntl pcntl.c /php-src NEWS Log: MFB: 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&r2=1.48.2.2.2.5&diff_format=u Index: php-src/ext/pcntl/pcntl.c diff -u php-src/ext/pcntl/pcntl.c:1.48.2.2.2.4 php-src/ext/pcntl/pcntl.c:1.48.2.2.2.5 --- php-src/ext/pcntl/pcntl.c:1.48.2.2.2.4 Mon Jan 1 09:36:04 2007 +++ php-src/ext/pcntl/pcntl.c Tue Nov 27 17:14:27 2007 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: pcntl.c,v 1.48.2.2.2.4 2007/01/01 09:36:04 sebastian Exp $ */ +/* $Id: pcntl.c,v 1.48.2.2.2.5 2007/11/27 17:14:27 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); http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1018&r2=1.2027.2.547.2.1019&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.1018 php-src/NEWS:1.2027.2.547.2.1019 --- php-src/NEWS:1.2027.2.547.2.1018 Sun Nov 25 15:56:47 2007 +++ php-src/NEWS Tue Nov 27 17:14:27 2007 @@ -3,6 +3,7 @@ ?? ??? 2008, PHP 5.2.6 - Fixed bug #43386 (array_globals not reset to 0 properly on init). (Ilia) - Fixed bug #43377 (PHP crashes with invalid argument for DateTimeZone). (Ilia) +- Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error). (Ilia) - Fixed bug #43092 (curl_copy_handle() crashes with > 32 chars long URL). (Jani) - Fixed bug #43301 (mb_ereg*_replace() crashes when replacement string is
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php