Skip to content

win32/signal.c: convert ctrl_handler to FCC#22210

Merged
Girgias merged 3 commits into
php:masterfrom
Girgias:win-signal-zval-to-fcc-conversion
Jun 3, 2026
Merged

win32/signal.c: convert ctrl_handler to FCC#22210
Girgias merged 3 commits into
php:masterfrom
Girgias:win-signal-zval-to-fcc-conversion

Conversation

@Girgias
Copy link
Copy Markdown
Member

@Girgias Girgias commented Jun 2, 2026

No description provided.

@Girgias Girgias marked this pull request as ready for review June 2, 2026 11:58
@Girgias Girgias requested a review from ndossche June 2, 2026 14:56
Comment thread sapi/cli/tests/sapi_windows_set_ctrl_handler_leak.phpt Outdated
Comment thread win32/signal.c

#ifdef ZTS
if (!tsrm_is_main_thread()) {
if (ZEND_FCC_INITIALIZED(fcc)) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't you also need to do this in the !php_win32_console_is_cli_sapi if block?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed.

@Girgias Girgias requested a review from ndossche June 2, 2026 18:40
@Girgias Girgias merged commit 9f96285 into php:master Jun 3, 2026
17 checks passed
@Girgias Girgias deleted the win-signal-zval-to-fcc-conversion branch June 3, 2026 13:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants