* 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.
This commit is contained in:
Corinna Vinschen
2011-01-20 11:09:21 +00:00
parent 9b68968b21
commit 2aba945c95
5 changed files with 30 additions and 16 deletions

View File

@ -16,6 +16,7 @@ details. */
#include "sync.h"
#include "fhandler.h"
#include "dtable.h"
#include "pinfo.h"
#include "cygheap.h"
#include "winf.h"