Update to 3.00g.

This commit is contained in:
Akinori MUSHA 2010-06-04 06:12:00 +00:00
parent db9f34be72
commit d0dc001660
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255703
3 changed files with 4 additions and 19 deletions

View file

@ -6,7 +6,7 @@
# #
PORTNAME= fd PORTNAME= fd
PORTVERSION= 3.00f PORTVERSION= 3.00g
CATEGORIES= shells net CATEGORIES= shells net
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \ MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
ftp://ftp.unixusers.net/src/fdclone/ ftp://ftp.unixusers.net/src/fdclone/

View file

@ -1,3 +1,3 @@
MD5 (FD-3.00f.tar.gz) = 1b644d9cb1eedfbe4a61009b8e841d09 MD5 (FD-3.00g.tar.gz) = 9ed477435023be93634fa897e8b9f354
SHA256 (FD-3.00f.tar.gz) = 8219998a222bbcf24901ba22b1294ac2f4cc11d64e538f04171642175f4b82c4 SHA256 (FD-3.00g.tar.gz) = c72c3db87722fdf216130bc210b855988bbc29353c1287c5070c3d4cffa0f995
SIZE (FD-3.00f.tar.gz) = 921929 SIZE (FD-3.00g.tar.gz) = 922482

View file

@ -1,15 +0,0 @@
diff -ur ../old/FD-3.00f/string.c ./string.c
--- ../old/FD-3.00f/string.c Sat May 29 00:00:00 2010
+++ ./string.c Sat May 29 19:52:52 2010
@@ -43,7 +43,10 @@
{
for (; n-- > 0; s++) {
if (*s == c) return((char *)s);
- else if (iswchar(s, 0)) s++;
+ else if (iswchar(s, 0)) {
+ if (n-- <= 0) break;
+ s++;
+ }
}
return(NULL);