Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect timeout calculation in GetLine
Attaching a debugger to a process waiting in GetLine would previously cause the read() to return immediately with EINTR, which we never retried. Now it retries until the original timeout has expired. (cherry picked from commit e997d09)
- Loading branch information
Showing
2 changed files
with
62 additions
and
21 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