summaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-02-19 08:44:58 +0000
committerknu <knu@FreeBSD.org>2003-02-19 08:44:58 +0000
commit8d8b9c3817eb4f7652edea01bba5838cf8a14899 (patch)
tree04bffde43453a555f98d8b9bf7513da238a30291 /shells
parent3f757da56e6b0b1e158d23d5b2bc2d7c080bcdf7 (diff)
downloadFreeBSD-ports-8d8b9c3817eb4f7652edea01bba5838cf8a14899.zip
FreeBSD-ports-8d8b9c3817eb4f7652edea01bba5838cf8a14899.tar.gz
Add a patch to fix a glob expansion problem where special character
escaping does not work.
Diffstat (limited to 'shells')
-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 0000000..d0c06fa
--- /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;
OpenPOWER on IntegriCloud