OSDN Git Service

* exec.cc (execvp): Call find_exec with FE_NNF flag to enforce
authorcorinna <corinna>
Tue, 22 Dec 2009 00:16:27 +0000 (00:16 +0000)
committercorinna <corinna>
Tue, 22 Dec 2009 00:16:27 +0000 (00:16 +0000)
commitc3892a9dc4160d75311adb6b4ed785efe9e3829d
tree9b2bd88fe519dcdec40d918af7e08aca4705710b
parent117b595839c164391211ac9a247261a40572900b
* exec.cc (execvp): Call find_exec with FE_NNF flag to enforce
a NULL return when executable isn't found in $PATH.  Convert NULL
to "".
(execvpe): Ditto.
* spawn.cc (spawn_guts): Return with EFAULT if prog_arg is NULL.
Return with ENOENT if prog_arg is empty string.  Add a comment.
winsup/cygwin/ChangeLog
winsup/cygwin/exec.cc
winsup/cygwin/spawn.cc