Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib: istream-file/unix - don't ignore EINTR for blocking istream reads
Just fail the istream read entirely. Although there's a small possibility that this interrupt was unwanted and should be retried, it's more likely that a blocking istream is hanging and admin wants to stop the process. If the EINTR is ignored all the time, it's not possible to abort a blocking read with ^C or anything else than SIGKILL.
- Loading branch information
Showing
2 changed files
with
18 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters