Skip to content

Fix #79650: php-win.exe 100% cpu lockup#5652

Closed
cmb69 wants to merge 1 commit intophp:PHP-7.3from
cmb69:cmb/79650
Closed

Fix #79650: php-win.exe 100% cpu lockup#5652
cmb69 wants to merge 1 commit intophp:PHP-7.3from
cmb69:cmb/79650

Conversation

@cmb69
Copy link
Member

@cmb69 cmb69 commented May 31, 2020

As of PHP 7.3.0, sapi_cli_single_write() is supposed to return < 0
on failure, but fwrite() returns a size_t, and signals error by
setting the stream's error indicator. We have to cater to that.

As of PHP 7.3.0, `sapi_cli_single_write()` is supposed to return `< 0`
on failure, but `fwrite()` returns a `size_t`, and signals error by
setting the stream's error indicator.  We have to cater to that.
@cmb69
Copy link
Member Author

cmb69 commented Jun 1, 2020

Thanks! Applied as 923c45b.

@cmb69 cmb69 closed this Jun 1, 2020
@cmb69 cmb69 deleted the cmb/79650 branch June 1, 2020 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants