aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2017-08-02 09:31:30 +0100
committerRon Yorston <rmy@pobox.com>2017-08-02 09:31:30 +0100
commitc8b51e5f274ff044ba2f9f350ead478d6c2063aa (patch)
tree802901433d982600cd44ce5e532a1557b42ea616 /shell
parentfe285a71e3df46e54f3408a025a3f418dce39c55 (diff)
downloadbusybox-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.
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c1
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];