Move exe functions back to os/fs.c

This commit is contained in:
John Schmidt
2014-04-08 17:50:10 +02:00
committed by Thiago de Arruda
parent 6fb58d1c5c
commit ac62041138
8 changed files with 94 additions and 126 deletions

View File

@@ -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));