summaryrefslogtreecommitdiff
path: root/ext/pcntl/php_signal.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-10-02 10:09:37 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-10-02 10:09:37 +0200
commit2041c9abf5fdaa9d0e632e5e6e4f3488159c9bfe (patch)
treeb713236483c009f397da8625a186f789c59322c0 /ext/pcntl/php_signal.c
parent32b87f855edafdcd5486d2b6c8b0703b343d77ed (diff)
parente98e1f92c98b7c8910c55835d8f67d0d9230cc8b (diff)
downloadphp-git-2041c9abf5fdaa9d0e632e5e6e4f3488159c9bfe.tar.gz
Merge branch 'PHP-7.4'
Diffstat (limited to 'ext/pcntl/php_signal.c')
-rw-r--r--ext/pcntl/php_signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcntl/php_signal.c b/ext/pcntl/php_signal.c
index e10d380f00..ba65996c1d 100644
--- a/ext/pcntl/php_signal.c
+++ b/ext/pcntl/php_signal.c
@@ -39,7 +39,7 @@ Sigfunc *php_signal4(int signo, Sigfunc *func, int restart, int mask_all)
#ifdef HAVE_STRUCT_SIGINFO_T
act.sa_flags |= SA_SIGINFO;
#endif
- if (signo == SIGALRM || (! restart)) {
+ if (!restart) {
#ifdef SA_INTERRUPT
act.sa_flags |= SA_INTERRUPT; /* SunOS */
#endif