Skip to content

Commit d81db0b

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: Update NEWS for pcntl fix [skip ci] ext/pcntl: Bump num_signals to uint16_t (php#21347)
2 parents cccc548 + 06f9389 commit d81db0b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

ext/pcntl/php_pcntl.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ ZEND_BEGIN_MODULE_GLOBALS(pcntl)
4848
bool processing_signal_queue;
4949
volatile bool pending_signals;
5050
bool async_signals;
51-
uint8_t num_signals;
51+
/* some OSes define NSIG to be > UINT8_MAX */
52+
uint16_t num_signals;
5253
int last_error;
5354
struct php_pcntl_pending_signal *head, *tail, *spares;
5455
ZEND_END_MODULE_GLOBALS(pcntl)

0 commit comments

Comments
 (0)