[php-src] PR #21270: ext/pcntl: Fix signal table updated before php_signal4 succeeds in pc…
| From: | devnexen | Date: | Sat, 21 Feb 2026 03:59:02 +0000 |
| Subject: | [php-src] PR #21270: ext/pcntl: Fix signal table updated before php_signal4 succeeds in pc… | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34971@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21270
Author: devnexen
…ntl_signal
Move the signal table update after the php_signal4 call, mirroring what is already done in the
SIG_DFL/SIG_IGN (integer) code path. This prevents a stale entry in the table if sigaction fails.