Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-10-09 07:31:10 +0400
committerChristopher Faylor <me@cgf.cx>2000-10-09 07:31:10 +0400
commitaaf0dee2609f1cdb0fbe181a4f00e0c600e78a9c (patch)
tree4af57f4254a988850a95751d5b50f79502aa7c1b /winsup/utils/kill.cc
parent164a681ca55419ec2cc7c9ad45f720f4a79cada1 (diff)
* 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 7a3be9b35..961475680 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
{