aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/pinfo.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-01-03 20:57:11 +0000
committerChristopher Faylor <me@cgf.cx>2004-01-03 20:57:11 +0000
commit0efff769fde31941788e77bdeac1d7fdd2e19088 (patch)
tree24978f13cedccf63e22bba3e434a2a120c5853d0 /winsup/cygwin/pinfo.cc
parentc0bece84cd749390b92c49c9c44dc8606f03e809 (diff)
downloadnewlib-0efff769fde31941788e77bdeac1d7fdd2e19088.zip
newlib-0efff769fde31941788e77bdeac1d7fdd2e19088.tar.gz
newlib-0efff769fde31941788e77bdeac1d7fdd2e19088.tar.bz2
* exceptions.cc (_threadinfo::interrupt_now): Avoid double call to sigdelayed.
* pinfo.cc (_pinfo::commune_send): Avoid inexplicable test which caused most pids to be shown as "<defunct>" on Win9x.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index 4ce702e..834fa85 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -435,7 +435,7 @@ _pinfo::commune_send (DWORD code, ...)
res.s = NULL;
res.n = 0;
- if (!pid || !this || (dwProcessId != (DWORD) pid && !pinfo (myself->dwProcessId)))
+ if (!this || !pid)
{
set_errno (ESRCH);
goto err;