diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2007-11-27 17:13:31 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2007-11-27 17:13:31 +0000 |
| commit | 78fadae2ce2c31cc11154e86a271f217a12c064c (patch) | |
| tree | 2acc486b0cd60fcbd187442e119cb067ce3c4079 /ext/pcntl | |
| parent | 83cfd0ce0e289461d8751b32a42140c4a2074b20 (diff) | |
| download | php-git-78fadae2ce2c31cc11154e86a271f217a12c064c.tar.gz | |
MFB: Fixed bug #43373 (pcntl_fork() should not raise E_ERROR on error)
Diffstat (limited to 'ext/pcntl')
| -rwxr-xr-x | ext/pcntl/pcntl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/pcntl.c b/ext/pcntl/pcntl.c index 462a40cc44..d5ecb8052b 100755 --- a/ext/pcntl/pcntl.c +++ b/ext/pcntl/pcntl.c @@ -225,7 +225,7 @@ PHP_FUNCTION(pcntl_fork) 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); |
