* 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:
Christopher Faylor
2005-08-06 23:00:06 +00:00
parent 2041777dee
commit 244f5a27a6
5 changed files with 61 additions and 6 deletions

View File

@@ -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;