aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-09-17 01:28:35 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-09-17 01:28:35 -0400
commita447160a6ca43181158bce8117f2af37f4e9fc85 (patch)
treefb104bb7b753f26e9927b42f5b7bd39af61240b5 /src/nvim/os_unix.c
parent8249e4ac72b54d00addb597a124d0f55566b2466 (diff)
parent8b3e5829e4902ba214ab3399e97e6a325c625739 (diff)
downloadrneovim-a447160a6ca43181158bce8117f2af37f4e9fc85.tar.gz
rneovim-a447160a6ca43181158bce8117f2af37f4e9fc85.tar.bz2
rneovim-a447160a6ca43181158bce8117f2af37f4e9fc85.zip
Merge pull request #953 from splinterofchaos/patch235-exepath
vim-patch:7.4.235
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r--src/nvim/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c
index 6c79fbd479..a54ed000af 100644
--- a/src/nvim/os_unix.c
+++ b/src/nvim/os_unix.c
@@ -1331,7 +1331,7 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file,
continue;
/* Skip files that are not executable if we check for that. */
- if (!dir && (flags & EW_EXEC) && !os_can_exe((*file)[i]))
+ if (!dir && (flags & EW_EXEC) && !os_can_exe((*file)[i], NULL))
continue;
p = xmalloc(STRLEN((*file)[i]) + 1 + dir);