Skip to content

Commit 50fe64c

Browse files
committed
Merge branch 'PHP-8.2' of https://github.com/php/php-src into PHP-8.3
2 parents 6d6cd29 + 059bf33 commit 50fe64c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Zend/zend_signal.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,8 +183,7 @@ static void zend_signal_handler(int signo, siginfo_t *siginfo, void *context)
183183
zend_signal_entry_t p_sig;
184184
#ifdef ZTS
185185
if (tsrm_is_shutdown() || !tsrm_is_managed_thread()) {
186-
p_sig.flags = 0;
187-
p_sig.handler = SIG_DFL;
186+
p_sig = global_orig_handlers[signo-1];
188187
} else
189188
#endif
190189
p_sig = SIGG(handlers)[signo-1];

0 commit comments

Comments
 (0)