aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 1d7d916da..1f57c2d7e 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -8293,6 +8293,10 @@ expmeta(exp_t *exp, char *name, unsigned name_len, unsigned expdir_len)
8293 8293
8294 metaflag = 0; 8294 metaflag = 0;
8295 start = name; 8295 start = name;
8296#if ENABLE_PLATFORM_MINGW32
8297 if (expdir_len == 0 && has_dos_drive_prefix(start) && start[2] != '/')
8298 start += 2;
8299#endif
8296 for (p = name; esc = 0, *p; p += esc + 1) { 8300 for (p = name; esc = 0, *p; p += esc + 1) {
8297 if (*p == '*' || *p == '?') 8301 if (*p == '*' || *p == '?')
8298 metaflag = 1; 8302 metaflag = 1;