From: Rasmus Lerdorf Date: Tue, 8 Nov 2011 20:32:29 +0000 (+0000) Subject: This really shouldn't fail, but if it does, like on OSX under Valgrind, X-Git-Tag: php-5.4.0RC1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9597bc0801b05e4852f5bf6b3c8cfe3ecfd3a664;p=php This really shouldn't fail, but if it does, like on OSX under Valgrind, let's just issue a warning. --- diff --git a/Zend/zend_signal.c b/Zend/zend_signal.c index 8fe8ebc515..1838508be1 100644 --- a/Zend/zend_signal.c +++ b/Zend/zend_signal.c @@ -215,7 +215,7 @@ ZEND_API int zend_sigaction(int signo, const struct sigaction *act, struct sigac 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 */