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.
This commit is contained in:
parent
b9eac19b3f
commit
7181051572
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=56651
2 changed files with 13 additions and 0 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= fd
|
||||
PORTVERSION= 2.00a
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= shells
|
||||
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
|
||||
ftp://ftp.vector.co.jp/pack/unix/util/file/filer/fd/
|
||||
|
|
12
shells/fd/files/patch-pathname.c
Normal file
12
shells/fd/files/patch-pathname.c
Normal file
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in a new issue