mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-22 16:49:45 +08:00
revert erroneous checkins
This commit is contained in:
parent
5806add291
commit
73f7245be2
@ -60,7 +60,7 @@ static const char * const process_listing[] =
|
|||||||
"ctty",
|
"ctty",
|
||||||
"stat",
|
"stat",
|
||||||
"statm",
|
"statm",
|
||||||
"qmdline",
|
"cmdline",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -234,8 +234,6 @@ pinfo::init (pid_t n, DWORD flag, HANDLE in_h)
|
|||||||
bool
|
bool
|
||||||
_pinfo::alive ()
|
_pinfo::alive ()
|
||||||
{
|
{
|
||||||
if (!dwProcessId)
|
|
||||||
return 0;
|
|
||||||
HANDLE h = OpenProcess (PROCESS_QUERY_INFORMATION, false, dwProcessId);
|
HANDLE h = OpenProcess (PROCESS_QUERY_INFORMATION, false, dwProcessId);
|
||||||
if (h)
|
if (h)
|
||||||
CloseHandle (h);
|
CloseHandle (h);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user