aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os_unix.c
diff options
context:
space:
mode:
authorScott Prager <splinterofchaos@gmail.com>2014-09-17 00:58:30 -0400
committerScott Prager <splinterofchaos@gmail.com>2014-09-17 01:00:24 -0400
commit9445eaa297a7e01c20cb5e5141be54cc7d8d5cce (patch)
treecb44a949bab57286b4cda4aee8843b39bdef5b12 /src/nvim/os_unix.c
parent899878d347b4a85e3a19e5bb86f7519cc9255992 (diff)
downloadrneovim-9445eaa297a7e01c20cb5e5141be54cc7d8d5cce.tar.gz
rneovim-9445eaa297a7e01c20cb5e5141be54cc7d8d5cce.tar.bz2
rneovim-9445eaa297a7e01c20cb5e5141be54cc7d8d5cce.zip
vim-patch:7.4.235
Problem: It is not easy to get the full path of a command. Solution: Add the exepath() function. https://code.google.com/p/vim/source/detail?r=5ab2946f7ce560985830fbc3c453bb0f7a01f385
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);