* pinfo.cc (_pinfo::commune_send): Don't attempt to communicate with a pure
windows process.
This commit is contained in:
parent
8266e478d6
commit
6c6f70947d
|
@ -1,3 +1,8 @@
|
|||
2003-06-20 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* pinfo.cc (_pinfo::commune_send): Don't attempt to communicate with a
|
||||
pure windows process.
|
||||
|
||||
2003-06-18 Pierre Humblet <pierre.humblet@ieee.org>
|
||||
|
||||
* autoload.cc (GetNetworkParams): Add.
|
||||
|
|
|
@ -331,7 +331,7 @@ _pinfo::commune_send (DWORD code)
|
|||
res.s = NULL;
|
||||
res.n = 0;
|
||||
|
||||
if (!pid || !this)
|
||||
if (!pid || !this || (dwProcessId != (DWORD) pid && !pinfo (myself->dwProcessId)))
|
||||
{
|
||||
set_errno (ESRCH);
|
||||
goto err;
|
||||
|
|
Loading…
Reference in New Issue