aboutsummaryrefslogtreecommitdiff
path: root/shells/fd/files/patch-pathname.c
diff options
context:
space:
mode:
Diffstat (limited to 'shells/fd/files/patch-pathname.c')
-rw-r--r--shells/fd/files/patch-pathname.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/shells/fd/files/patch-pathname.c b/shells/fd/files/patch-pathname.c
new file mode 100644
index 000000000000..d0c06faa67ae
--- /dev/null
+++ b/shells/fd/files/patch-pathname.c
@@ -0,0 +1,13 @@
+Taken from: [FDclone-users:00108]
+diff -u old/pathname.c ./pathname.c
+--- old/pathname.c Wed Dec 25 00:00:00 2002
++++ ./pathname.c Sun Feb 16 10:18:00 2003
+@@ -1173,7 +1173,7 @@
+ else paren[plen++] = toupper2(s[i]);
+ }
+ }
+- else if (!quote) switch (s[i]) {
++ else if (!quote && !metachar) switch (s[i]) {
+ case '?':
+ cp = wildsymbol1;
+ break;