diff options
author | Christopher Faylor <me@cgf.cx> | 2005-08-06 23:00:06 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-08-06 23:00:06 +0000 |
commit | 244f5a27a6b7ce664030de6e4c08e9d43a099ad0 (patch) | |
tree | cf5916c2dba02dbb58ef9355a9c8449e20ebb2ee /winsup/cygwin/pinfo.cc | |
parent | 2041777dee6626ba0905ceb91f5d2cdb74d29a09 (diff) | |
download | cygnal-244f5a27a6b7ce664030de6e4c08e9d43a099ad0.tar.gz cygnal-244f5a27a6b7ce664030de6e4c08e9d43a099ad0.tar.bz2 cygnal-244f5a27a6b7ce664030de6e4c08e9d43a099ad0.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r-- | winsup/cygwin/pinfo.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 986dce5ef..e253cac5d 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -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; |