diff options
Diffstat (limited to 'Src/input.c')
-rw-r--r-- | Src/input.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Src/input.c b/Src/input.c index e82d25011..8f33e3631 100644 --- a/Src/input.c +++ b/Src/input.c @@ -141,9 +141,7 @@ shingetline(void) for (;;) { do { errno = 0; - ALLOWTRAPS { - c = fgetc(bshin); - } DISALLOWTRAPS; + c = fgetc(bshin); } while (c < 0 && errno == EINTR); if (c < 0 || c == '\n') { if (c == '\n') |