diff options
author | knu <knu@FreeBSD.org> | 2006-05-24 19:48:20 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2006-05-24 19:48:20 +0800 |
commit | 3765c3c1ff181b0a196748c0616bcecbcb859788 (patch) | |
tree | 20c7818f04c7342b426b8bf3b8cb5467039ccff6 /shells | |
parent | 3e6cfaae5fc38071cd526257c043bd785ab16cb4 (diff) | |
download | freebsd-ports-gnome-3765c3c1ff181b0a196748c0616bcecbcb859788.tar.gz freebsd-ports-gnome-3765c3c1ff181b0a196748c0616bcecbcb859788.tar.zst freebsd-ports-gnome-3765c3c1ff181b0a196748c0616bcecbcb859788.zip |
Update to 2.08c.
Diffstat (limited to 'shells')
-rw-r--r-- | shells/fd/Makefile | 3 | ||||
-rw-r--r-- | shells/fd/distinfo | 4 | ||||
-rw-r--r-- | shells/fd/files/patch-shell.c | 47 |
3 files changed, 3 insertions, 51 deletions
diff --git a/shells/fd/Makefile b/shells/fd/Makefile index dfba34e4d9a8..885ab9c1a44e 100644 --- a/shells/fd/Makefile +++ b/shells/fd/Makefile @@ -6,8 +6,7 @@ # PORTNAME= fd -PORTVERSION= 2.08b -PORTREVISION= 1 +PORTVERSION= 2.08c CATEGORIES= shells MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \ ftp://ftp.unixusers.net/src/fdclone/ diff --git a/shells/fd/distinfo b/shells/fd/distinfo index 23f70ff37fdd..2e24665849c8 100644 --- a/shells/fd/distinfo +++ b/shells/fd/distinfo @@ -1,2 +1,2 @@ -MD5 (FD-2.08b.tar.gz) = c9e33e49e032002a74d18d50bfc2210a -SIZE (FD-2.08b.tar.gz) = 722831 +MD5 (FD-2.08c.tar.gz) = df5faa820e60caaaa50164eb004ccf95 +SIZE (FD-2.08c.tar.gz) = 723077 diff --git a/shells/fd/files/patch-shell.c b/shells/fd/files/patch-shell.c deleted file mode 100644 index 8d79078746b3..000000000000 --- a/shells/fd/files/patch-shell.c +++ /dev/null @@ -1,47 +0,0 @@ -cf. [FDclone-users:00493] - -diff -u ../old/FD-2.08b/shell.c ./shell.c ---- ../old/FD-2.08b/shell.c Thu Mar 30 00:00:00 2006 -+++ ./shell.c Mon Apr 10 22:45:35 2006 -@@ -1630,12 +1630,7 @@ - int i, j, size; - - if (!file || !(fp = Xfopen(file, "r"))) return(-1); --#ifndef NOFLOCK -- if (lockfile(Xfileno(fp), LCK_READ) < 0) { -- Xfclose(fp); -- return(-1); -- } --#endif -+ VOID_C lockfile(Xfileno(fp), LCK_READ); - - size = (int)histsize[n]; - history[n] = (char **)malloc2(sizeof(char *) * (size + 1)); -@@ -1650,7 +1645,7 @@ - for (j = i; j > 0; j--) history[n][j] = history[n][j - 1]; - history[n][0] = line; - } -- lockfile(Xfileno(fp), LCK_UNLOCK); -+ VOID_C lockfile(Xfileno(fp), LCK_UNLOCK); - Xfclose(fp); - - for (i++; i <= size; i++) history[n][i] = NULL; -@@ -1684,16 +1679,11 @@ - - if (!history[n] || !history[n][0]) return(-1); - if (!file || !(fp = Xfopen(file, "w"))) return(-1); --#ifndef NOFLOCK -- if (lockfile(Xfileno(fp), LCK_WRITE) < 0) { -- Xfclose(fp); -- return(-1); -- } --#endif -+ VOID_C lockfile(Xfileno(fp), LCK_WRITE); - - size = (savehist > (int)histsize[n]) ? (int)histsize[n] : savehist; - for (i = size - 1; i >= 0; i--) convhistory(history[n][i], fp); -- lockfile(Xfileno(fp), LCK_UNLOCK); -+ VOID_C lockfile(Xfileno(fp), LCK_UNLOCK); - Xfclose(fp); - - return(0); |