summaryrefslogtreecommitdiff
path: root/shells/fd/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-03-25 21:04:50 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-03-25 21:04:50 +0000
commit7181051572bc46379e504da875a39641563d7a0f (patch)
tree30a626cc92380ff0038cc45102f37a7eb537bba9 /shells/fd/files
parentUnbreak: don't clobber the system's strcasestr() function. (diff)
Add a patch supplied by the author to fix a bug in glob expansion
where a series of globs was only partially expanded. (`echo a* b*' -> `echo a aa aaa b*') Bump PORTREVISION accordingly.
Notes
Notes: svn path=/head/; revision=56651
Diffstat (limited to 'shells/fd/files')
-rw-r--r--shells/fd/files/patch-pathname.c12
1 files changed, 12 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..d4b22a267299
--- /dev/null
+++ b/shells/fd/files/patch-pathname.c
@@ -0,0 +1,12 @@
+diff -u ../old/FD-2.00a/pathname.c ./pathname.c
+--- ../old/FD-2.00a/pathname.c Wed Feb 6 00:00:00 2002
++++ ./pathname.c Fri Mar 22 08:55:40 2002
+@@ -2744,7 +2744,7 @@
+ for (w = 0; wild[w]; w++)
+ (*argvp)[n + w] = wild[w];
+ free(wild);
+- n += w;
++ n += w - 1;
+ break;
+ }
+