Windows does not have the error EINTR when a blocking syscall is
interrupted by a signal. The ReadFile API that fgets is implemented
with instead use ERROR_OPERATION_ABORTED. Check for that after fgets.
Details
Details
- Reviewers
aleksandr.urakov stella.stamenova
Diff Detail
Diff Detail
- Build Status
Buildable 34845 Build 34844: arc lint + arc unit
Event Timeline
Comment Actions
This actually doesn't seem to be working due to a bug in Windows' ReadFile. https://github.com/microsoft/terminal/issues/334 @stella.stamenova any idea about this?