From ac620411383259400cff2f12ffe576f066ed4ca7 Mon Sep 17 00:00:00 2001 From: John Schmidt Date: Tue, 8 Apr 2014 17:50:10 +0200 Subject: Move exe functions back to os/fs.c --- src/os_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/os_unix.c') diff --git a/src/os_unix.c b/src/os_unix.c index 3a3ecda276..9727140597 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1418,7 +1418,7 @@ int flags; /* EW_* flags */ continue; /* Skip files that are not executable if we check for that. */ - if (!dir && (flags & EW_EXEC) && !path_can_exe((*file)[i])) + if (!dir && (flags & EW_EXEC) && !os_can_exe((*file)[i])) continue; p = alloc((unsigned)(STRLEN((*file)[i]) + 1 + dir)); -- cgit