[php-src] PR #11510: Fix interrupted CLI output causing the process to exit
| From: | nielsdos | Date: | Thu, 22 Jun 2023 22:22:41 +0000 |
| Subject: | [php-src] PR #11510: Fix interrupted CLI output causing the process to exit | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-22795@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/11510
Author: nielsdos
When writing the output in the CLI is interrupted by a signal, the writing will fail in
sapi_cli_single_write(), causing an exit later in sapi_cli_ub_write(). This was the other part of
the issue in GH-11498. The solution is to restart the write if an EINTR has been observed.