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 e29c8bafa78847414419522baecd008e287389db (v9.1.0923)
fixes: #16213
related: #16160
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/os_unix.c b/src/os_unix.c
index ac78733..dc518fc 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -6797,6 +6797,21 @@
}
/*
+ * 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
*