]> granicus.if.org Git - php/commitdiff
This really shouldn't fail, but if it does, like on OSX under Valgrind,
authorRasmus Lerdorf <rasmus@php.net>
Tue, 8 Nov 2011 20:32:29 +0000 (20:32 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Tue, 8 Nov 2011 20:32:29 +0000 (20:32 +0000)
let's just issue a warning.

Zend/zend_signal.c

index 8fe8ebc515ca6dd4c00fed04dc254b28379af3fa..1838508be18c887d6ffdb6354808f110bb15f392 100644 (file)
@@ -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 */