* 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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user