aboutsummaryrefslogtreecommitdiffstats
path: root/shells/fd
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-02-19 16:44:58 +0800
committerknu <knu@FreeBSD.org>2003-02-19 16:44:58 +0800
commit8d8b9c3817eb4f7652edea01bba5838cf8a14899 (patch)
tree04bffde43453a555f98d8b9bf7513da238a30291 /shells/fd
parent3f757da56e6b0b1e158d23d5b2bc2d7c080bcdf7 (diff)
downloadfreebsd-ports-gnome-8d8b9c3817eb4f7652edea01bba5838cf8a14899.tar.gz
freebsd-ports-gnome-8d8b9c3817eb4f7652edea01bba5838cf8a14899.tar.zst
freebsd-ports-gnome-8d8b9c3817eb4f7652edea01bba5838cf8a14899.zip
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;