From 0efff769fde31941788e77bdeac1d7fdd2e19088 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 3 Jan 2004 20:57:11 +0000 Subject: * 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 "" on Win9x. --- winsup/cygwin/pinfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/pinfo.cc') diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 4ce702e6a..834fa8574 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; -- cgit v1.2.3