diff options
author | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2016-09-25 19:18:43 +0100 |
---|---|---|
committer | Peter Stephenson <p.w.stephenson@ntlworld.com> | 2016-09-25 19:18:43 +0100 |
commit | e35dcae40fca1baebc202561040f5c6eec421613 (patch) | |
tree | 1251e56fed82a019e7e1ba6e72e53ae74627e65e /Src/signals.c | |
parent | 759e5912fdb783e70b3e0d50fa0bc63e441a848b (diff) | |
download | zsh-e35dcae40fca1baebc202561040f5c6eec421613.tar.gz zsh-e35dcae40fca1baebc202561040f5c6eec421613.tar.xz zsh-e35dcae40fca1baebc202561040f5c6eec421613.zip |
39436: Pass on status of SIGINT better.
Set lastval to 128 + SIGINT on interrupt. Don't execute builtin if already interrupted at that point.
Diffstat (limited to 'Src/signals.c')
-rw-r--r-- | Src/signals.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Src/signals.c b/Src/signals.c index 30dde713f..e2587dc72 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -646,6 +646,7 @@ zhandler(int sig) inerrflush(); check_cursh_sig(SIGINT); } + lastval = 128 + SIGINT; } break; |