diff options
author | Ron Yorston <rmy@pobox.com> | 2017-08-02 09:31:30 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-02 09:31:30 +0100 |
commit | c8b51e5f274ff044ba2f9f350ead478d6c2063aa (patch) | |
tree | 802901433d982600cd44ce5e532a1557b42ea616 | |
parent | fe285a71e3df46e54f3408a025a3f418dce39c55 (diff) | |
download | busybox-w32-c8b51e5f274ff044ba2f9f350ead478d6c2063aa.tar.gz busybox-w32-c8b51e5f274ff044ba2f9f350ead478d6c2063aa.tar.bz2 busybox-w32-c8b51e5f274ff044ba2f9f350ead478d6c2063aa.zip |
ash: don't reset pending_int in waitpid_child
Testing on Windows 10 showed that to be a bad idea.
-rw-r--r-- | shell/ash.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index b06ed18f4..62f750ca3 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -4370,7 +4370,6 @@ waitpid_child(int *status, int wait_flags) | |||
4370 | if (!idx) { /* hSIGINT */ | 4370 | if (!idx) { /* hSIGINT */ |
4371 | int i; | 4371 | int i; |
4372 | ResetEvent(hSIGINT); | 4372 | ResetEvent(hSIGINT); |
4373 | pending_int = 0; | ||
4374 | for (i = 1; i < pid_nr; i++) | 4373 | for (i = 1; i < pid_nr; i++) |
4375 | TerminateProcess(proclist[i], 1); | 4374 | TerminateProcess(proclist[i], 1); |
4376 | pid = pidlist[1]; | 4375 | pid = pidlist[1]; |