diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-02-02 23:13:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-02 23:13:27 -0800 |
commit | ead61e5a52abcdff60d3b534bd32f43c61c0221a (patch) | |
tree | 484ecae3687ff9a1b3f02300228476fa53e72464 /src/nvim/path.c | |
parent | 983086f42e5841b84d5b24623a51ffc8c725e78f (diff) | |
parent | 2af04e199740d5d2eaab38e272ecf1f9146335f5 (diff) | |
download | rneovim-ead61e5a52abcdff60d3b534bd32f43c61c0221a.tar.gz rneovim-ead61e5a52abcdff60d3b534bd32f43c61c0221a.tar.bz2 rneovim-ead61e5a52abcdff60d3b534bd32f43c61c0221a.zip |
Merge #11807 'refactor: eliminate os_unix.c (almost)'
Diffstat (limited to 'src/nvim/path.c')
-rw-r--r-- | src/nvim/path.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/path.c b/src/nvim/path.c index 0142724a5b..31318f6bea 100644 --- a/src/nvim/path.c +++ b/src/nvim/path.c @@ -1178,7 +1178,7 @@ int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file, */ if (recursive) #ifdef SPECIAL_WILDCHAR - return mch_expand_wildcards(num_pat, pat, num_file, file, flags); + return os_expand_wildcards(num_pat, pat, num_file, file, flags); #else return FAIL; #endif @@ -1193,7 +1193,7 @@ int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file, for (int i = 0; i < num_pat; i++) { if (has_special_wildchar(pat[i]) && !(vim_backtick(pat[i]) && pat[i][1] == '=')) { - return mch_expand_wildcards(num_pat, pat, num_file, file, flags); + return os_expand_wildcards(num_pat, pat, num_file, file, flags); } } #endif @@ -1233,8 +1233,8 @@ int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file, else if (has_env_var(p) || *p == '~') { xfree(p); ga_clear_strings(&ga); - i = mch_expand_wildcards(num_pat, pat, num_file, file, - flags | EW_KEEPDOLLAR); + i = os_expand_wildcards(num_pat, pat, num_file, file, + flags | EW_KEEPDOLLAR); recursive = false; return i; } |