* 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.
This commit is contained in:
Christopher Faylor
2004-01-03 20:57:11 +00:00
parent c0bece84cd
commit 0efff769fd
3 changed files with 9 additions and 3 deletions

View File

@@ -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;