From 613c7c10dca07571a57dc608754e181ab6754e5f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 20 Dec 2015 18:51:19 +0100 Subject: change semantics of searchpath2 and add searchpath3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/unistd/exec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/unistd/exec.c') diff --git a/src/unistd/exec.c b/src/unistd/exec.c index 9375baa..3558b1f 100644 --- a/src/unistd/exec.c +++ b/src/unistd/exec.c @@ -329,7 +329,7 @@ int execvpe(const char* file, char* const argv[], char* const envp[]) if (!*file) return errno = ENOENT, -1; - pathname = searchpath2(file, NULL); + pathname = searchpath3(file, NULL, "."); if (pathname == NULL) return -1; -- cgit v1.2.3-70-g09d2