aboutsummaryrefslogtreecommitdiff
path: root/winsup/utils/kill.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-09 03:31:10 +0000
committerChristopher Faylor <me@cgf.cx>2000-10-09 03:31:10 +0000
commitaaf0dee2609f1cdb0fbe181a4f00e0c600e78a9c (patch)
tree4af57f4254a988850a95751d5b50f79502aa7c1b /winsup/utils/kill.cc
parent164a681ca55419ec2cc7c9ad45f720f4a79cada1 (diff)
downloadnewlib-aaf0dee2609f1cdb0fbe181a4f00e0c600e78a9c.zip
newlib-aaf0dee2609f1cdb0fbe181a4f00e0c600e78a9c.tar.gz
newlib-aaf0dee2609f1cdb0fbe181a4f00e0c600e78a9c.tar.bz2
* ps.cc (main): Change order of reporting slightly so that windows pids are
more obvious. * strace.cc (add_child): Just add child's pid directly. (remove_child): No need to close the child process pid since ContinueDebugEvent does that automatically. (proc_child): Ditto for child thread.
Diffstat (limited to 'winsup/utils/kill.cc')
-rw-r--r--winsup/utils/kill.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/kill.cc b/winsup/utils/kill.cc
index 7a3be9b..9614756 100644
--- a/winsup/utils/kill.cc
+++ b/winsup/utils/kill.cc
@@ -74,7 +74,7 @@ sig0:
}
else
{
- if (errno == ESRCH && force && sig != 0)
+ if (force && sig != 0)
forcekill (pid, sig, 0);
else
{