forked from aniani/vim
patch 9.1.0924: patch 9.1.0923 causes issues
Problem: patch 9.1.0923 causes issues (Shane-XB-Qian)
Solution: back-out the change
This reverts commit e29c8bafa7
(v9.1.0923)
fixes: #16213
related: #16160
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
657
src/filepath.c
657
src/filepath.c
File diff suppressed because it is too large
Load Diff
@@ -6796,6 +6796,21 @@ select_eintr:
|
||||
return result;
|
||||
}
|
||||
|
||||
/*
|
||||
* Expand a path into all matching files and/or directories. Handles "*",
|
||||
* "?", "[a-z]", "**", etc.
|
||||
* "path" has backslashes before chars that are not to be expanded.
|
||||
* Returns the number of matches found.
|
||||
*/
|
||||
int
|
||||
mch_expandpath(
|
||||
garray_T *gap,
|
||||
char_u *path,
|
||||
int flags) // EW_* flags
|
||||
{
|
||||
return unix_expandpath(gap, path, 0, flags, FALSE);
|
||||
}
|
||||
|
||||
/*
|
||||
* mch_expand_wildcards() - this code does wild-card pattern matching using
|
||||
* the shell
|
||||
|
@@ -56,7 +56,6 @@ int expand_wildcards_eval(char_u **pat, int *num_file, char_u ***file, int flags
|
||||
int expand_wildcards(int num_pat, char_u **pat, int *num_files, char_u ***files, int flags);
|
||||
int match_suffix(char_u *fname);
|
||||
int unix_expandpath(garray_T *gap, char_u *path, int wildoff, int flags, int didstar);
|
||||
int mch_expandpath(garray_T *gap, char_u *path, int flags);
|
||||
int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file, char_u ***file, int flags);
|
||||
void addfile(garray_T *gap, char_u *f, int flags);
|
||||
void FreeWild(int count, char_u **files);
|
||||
|
@@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
924,
|
||||
/**/
|
||||
923,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user