diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2019-07-21 22:58:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-21 22:58:39 +0200 |
commit | 27fb8933f577010a997a3c8a55d55c2186a267cb (patch) | |
tree | 365f8c6e17b593e5350bdd927ecf237363724de4 /src/nvim/os_unix.c | |
parent | 9d0f8224c97b36116f3c0523bcf6941382892a5b (diff) | |
parent | 1fde79eedf0091af1b04ce3d91045672cb3c233e (diff) | |
download | rneovim-27fb8933f577010a997a3c8a55d55c2186a267cb.tar.gz rneovim-27fb8933f577010a997a3c8a55d55c2186a267cb.tar.bz2 rneovim-27fb8933f577010a997a3c8a55d55c2186a267cb.zip |
Merge #10561 from justinmk/os_can_exe
jobstart(), system(): use $PATHEXT-resolved exe
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r-- | src/nvim/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c index fa9f721ee2..ded575529f 100644 --- a/src/nvim/os_unix.c +++ b/src/nvim/os_unix.c @@ -535,7 +535,7 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, // Skip files that are not executable if we check for that. if (!dir && (flags & EW_EXEC) - && !os_can_exe((*file)[i], NULL, !(flags & EW_SHELLCMD))) { + && !os_can_exe((char *)(*file)[i], NULL, !(flags & EW_SHELLCMD))) { continue; } |