diff options
author | Xin LI <delphij@FreeBSD.org> | 2025-07-20 17:26:39 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2025-07-20 17:26:39 +0000 |
commit | 9006df9a94bf66485f7d23eec79eb6a344136401 (patch) | |
tree | 24c6d309954a3b2d52c54d40d634f02e2c7f25f0 /os.c | |
parent | 48b0a08b8724e7d5671dac2abf17ddb6d4e2a8f8 (diff) |
Diffstat (limited to 'os.c')
-rw-r--r-- | os.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -275,7 +275,7 @@ start: if (ret != 0) { if (ret == READ_INTR) - sigs |= S_INTERRUPT; + sigs |= S_SWINTERRUPT; reading = FALSE; return (ret); } @@ -287,7 +287,7 @@ start: int c; c = WIN32getch(); - sigs |= S_INTERRUPT; + sigs |= S_SWINTERRUPT; reading = FALSE; if (c != CONTROL('C') && c != intr_char) WIN32ungetch((char) c); @@ -348,7 +348,7 @@ public int iopen(constant char *filename, int flags) while (!opening && SET_JUMP(open_label)) { opening = FALSE; - if (sigs & S_INTERRUPT) + if (sigs & (S_INTERRUPT|S_SWINTERRUPT)) { sigs = 0; #if HAVE_SETTABLE_ERRNO |