* include/endian.h: Move everything into this file and define things more like
linux. * include/cygwin/types.h: Include endian.h. * include/sys/dirent.h: Define DT_* types and conversion macros. * pinfo.cc (pinfo::init): Remove special handling for PID_ALLPIDS and execed code, even though it probably still isn't quite right.
This commit is contained in:
@@ -255,11 +255,6 @@ pinfo::init (pid_t n, DWORD flag, HANDLE h0)
|
||||
if (realpid == n)
|
||||
api_fatal ("retrieval of execed process info for pid %d failed due to recursion.", n);
|
||||
|
||||
if ((flag & PID_ALLPIDS))
|
||||
{
|
||||
set_errno (ESRCH);
|
||||
break;
|
||||
}
|
||||
n = realpid;
|
||||
CloseHandle (h0);
|
||||
h0 = NULL;
|
||||
|
Reference in New Issue
Block a user