rasmus                                   Tue, 08 Nov 2011 20:32:29 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=318921

Log:
This really shouldn't fail, but if it does, like on OSX under Valgrind,
let's just issue a warning.

Changed paths:
    U   php/php-src/branches/PHP_5_4/Zend/zend_signal.c

Modified: php/php-src/branches/PHP_5_4/Zend/zend_signal.c
===================================================================
--- php/php-src/branches/PHP_5_4/Zend/zend_signal.c     2011-11-08 19:07:23 UTC 
(rev 318920)
+++ php/php-src/branches/PHP_5_4/Zend/zend_signal.c     2011-11-08 20:32:29 UTC 
(rev 318921)
@@ -215,7 +215,7 @@
                sa.sa_mask      = global_sigmask;

                if (sigaction(signo, &sa, NULL) < 0) {
-                       zend_error(E_ERROR, "Error installing signal handler 
for %d", signo);
+                       zend_error(E_WARNING, "Error installing signal handler 
for %d", signo);
                }

                /* unsure this signal is not blocked */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to