aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-12-08 18:46:34 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-12-08 18:46:34 +0000
commit248c1bc2499dffe28fcf6bbfb937271f514a226c (patch)
treec3cd141e9cc40bdb2147c180ba9d1031bfd38482 /shells
parent5dfcfcd09834c9c5b6a3285971c131cfe2b335f3 (diff)
downloadports-248c1bc2499dffe28fcf6bbfb937271f514a226c.tar.gz
ports-248c1bc2499dffe28fcf6bbfb937271f514a226c.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/fd/Makefile3
-rw-r--r--shells/fd/distinfo2
-rw-r--r--shells/fd/files/patch-pathname.c31
3 files changed, 2 insertions, 34 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile
index 8024758ad77e..2900dc099f4c 100644
--- a/shells/fd/Makefile
+++ b/shells/fd/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= fd
-PORTVERSION= 2.04c
-PORTREVISION= 1
+PORTVERSION= 2.05
CATEGORIES= shells
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
ftp://ftp.vector.co.jp/pack/unix/util/file/filer/fd/
diff --git a/shells/fd/distinfo b/shells/fd/distinfo
index 00f401e11f6e..0d97696da2e8 100644
--- a/shells/fd/distinfo
+++ b/shells/fd/distinfo
@@ -1 +1 @@
-MD5 (FD-2.04c.tar.gz) = 798d696afe8296a682b3aa79f86bc473
+MD5 (FD-2.05.tar.gz) = 6bd986f1897f593c21e1e5ec65fa9cc9
diff --git a/shells/fd/files/patch-pathname.c b/shells/fd/files/patch-pathname.c
deleted file mode 100644
index 0d3f5f67b5e5..000000000000
--- a/shells/fd/files/patch-pathname.c
+++ /dev/null
@@ -1,31 +0,0 @@
-Taken from: [FDclone-users:00244] Re: SEGV caused by group lookups
-
-diff -u ../old/FD-2.04c/pathname.c ./pathname.c
---- ../old/FD-2.04c/pathname.c Wed Oct 15 00:00:00 2003
-+++ ./pathname.c Wed Nov 19 12:40:17 2003
-@@ -2917,7 +2917,7 @@
- gidlist = b_realloc(gidlist, maxgid, gidtable);
- gidlist[maxgid].gid = grp -> gr_gid;
- gidlist[maxgid].name = strdup2(grp -> gr_name);
-- gidlist[maxgid].gr_mem = grp -> gr_mem;
-+ gidlist[maxgid].gr_mem = duplvar(grp -> gr_mem, -1);
- gidlist[maxgid].ismem = 0;
- return(&(gidlist[maxgid++]));
- }
-@@ -2932,13 +2932,15 @@
- if (!(gp = findgid(gid, NULL))) return(0);
- if (!(gp -> ismem)) {
- gp -> ismem++;
-- if ((up = finduid(geteuid(), NULL)))
-+ if (gp -> gr_mem && (up = finduid(geteuid(), NULL)))
- for (i = 0; gp -> gr_mem[i]; i++) {
- if (!strpathcmp(up -> name, gp -> gr_mem[i])) {
- gp -> ismem++;
- break;
- }
- }
-+ freevar(gp -> gr_mem);
-+ gp -> gr_mem = NULL;
- }
-
- return(gp -> ismem - 1);