diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-01-20 14:09:21 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-01-20 14:09:21 +0300 |
commit | 2aba945c95bcdd1fdedb77d6828ad726eaaa58c7 (patch) | |
tree | 5cbee9c1bf586d266f883a572ef8c549bcf0f9d2 /winsup/cygwin/exec.cc | |
parent | 9b68968b21886527163744407be85c6892c14021 (diff) |
* exec.cc: Include pinfo.h.
* winf.h: Move definitions of _P_PATH_TYPE_EXEC and _P_MODE from here...
* pinfo.h: ...to here.
(_P_PATH_TYPE_EXEC): Redefine to be bigger than _P_SYSTEM.
(_P_MODE): Redefine so as not to mask out _P_SYSTEM.
* spawn.cc (spawnlp): Add _P_PATH_TYPE_EXEC flag in call to spawnve.
(spawnlpe): Ditto.
(spawnvp): Ditto.
Diffstat (limited to 'winsup/cygwin/exec.cc')
-rw-r--r-- | winsup/cygwin/exec.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/exec.cc b/winsup/cygwin/exec.cc index e5d374711..2ec298ffc 100644 --- a/winsup/cygwin/exec.cc +++ b/winsup/cygwin/exec.cc @@ -16,6 +16,7 @@ details. */ #include "sync.h" #include "fhandler.h" #include "dtable.h" +#include "pinfo.h" #include "cygheap.h" #include "winf.h" |