mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
Add a patch to fix a glob expansion problem where special character
escaping does not work.
This commit is contained in:
parent
271f7e64f1
commit
45de60a197
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75865
13
shells/fd/files/patch-pathname.c
Normal file
13
shells/fd/files/patch-pathname.c
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user