iliaa           Tue Nov 27 17:13:31 2007 UTC

  Modified files:              
    /php-src/ext/pcntl  pcntl.c 
  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.58&r2=1.59&diff_format=u
Index: php-src/ext/pcntl/pcntl.c
diff -u php-src/ext/pcntl/pcntl.c:1.58 php-src/ext/pcntl/pcntl.c:1.59
--- php-src/ext/pcntl/pcntl.c:1.58      Thu Sep 27 18:28:40 2007
+++ php-src/ext/pcntl/pcntl.c   Tue Nov 27 17:13:31 2007
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: pcntl.c,v 1.58 2007/09/27 18:28:40 dmitry Exp $ */
+/* $Id: pcntl.c,v 1.59 2007/11/27 17:13:31 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

Reply via email to