diff options
Diffstat (limited to 'shells/fd')
-rw-r--r-- | shells/fd/Makefile | 1 | ||||
-rw-r--r-- | shells/fd/files/patch-parse.c | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile index 00d5df933f4d..c77489d0172e 100644 --- a/shells/fd/Makefile +++ b/shells/fd/Makefile @@ -7,6 +7,7 @@ PORTNAME= fd PORTVERSION= 3.00g +PORTREVISION= 1 CATEGORIES= shells net MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \ ftp://ftp.unixusers.net/src/fdclone/ diff --git a/shells/fd/files/patch-parse.c b/shells/fd/files/patch-parse.c new file mode 100644 index 000000000000..f4a15cd2d306 --- /dev/null +++ b/shells/fd/files/patch-parse.c @@ -0,0 +1,14 @@ +Patch by Rikito INAKAZU [FDclone-users:00861] + +diff -u parse.c.orig parse.c +--- parse.c.orig 2010-06-04 00:00:00.000000000 +0900 ++++ parse.c 2010-06-05 22:16:04.000000000 +0900 +@@ -831,7 +831,7 @@ + while (*cp) { + *bufp = c_realloc(*bufp, j + MAXCHARWID - 1, &size); + if (unprint) { +- (*bufp)[j] = *cp; ++ (*bufp)[j++] = *cp++; + continue; + } + |