mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +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",
|
||||
"stat",
|
||||
"statm",
|
||||
"qmdline",
|
||||
"cmdline",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
@ -234,8 +234,6 @@ pinfo::init (pid_t n, DWORD flag, HANDLE in_h)
|
||||
bool
|
||||
_pinfo::alive ()
|
||||
{
|
||||
if (!dwProcessId)
|
||||
return 0;
|
||||
HANDLE h = OpenProcess (PROCESS_QUERY_INFORMATION, false, dwProcessId);
|
||||
if (h)
|
||||
CloseHandle (h);
|
||||
|
Loading…
x
Reference in New Issue
Block a user