summaryrefslogtreecommitdiff
path: root/shells/fd
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-02-19 08:44:58 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-02-19 08:44:58 +0000
commit45de60a197517dbb6eaab5701f15fd49c2f628dd (patch)
treef8012a89436719922f710229f5dbc6ac10d4db4f /shells/fd
parent* Update to 1.3.12 (diff)
Add a patch to fix a glob expansion problem where special character
escaping does not work.
Diffstat (limited to 'shells/fd')
-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;