diff options
author | knu <knu@FreeBSD.org> | 2003-12-09 02:46:34 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2003-12-09 02:46:34 +0800 |
commit | a6eb34725f0740bbc84f55b64c0e1f975c420d72 (patch) | |
tree | a1ec5ff0ca19d578ebc0a351274662cad122dfa7 /shells | |
parent | 9aba1240790a114e7cd129a6eb436b1abfd803f8 (diff) | |
download | freebsd-ports-gnome-a6eb34725f0740bbc84f55b64c0e1f975c420d72.tar.gz freebsd-ports-gnome-a6eb34725f0740bbc84f55b64c0e1f975c420d72.tar.zst freebsd-ports-gnome-a6eb34725f0740bbc84f55b64c0e1f975c420d72.zip |
Update to 2.05.
Diffstat (limited to 'shells')
-rw-r--r-- | shells/fd/Makefile | 3 | ||||
-rw-r--r-- | shells/fd/distinfo | 2 | ||||
-rw-r--r-- | shells/fd/files/patch-pathname.c | 31 |
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); |