aboutsummaryrefslogtreecommitdiffstats
path: root/shells/fd/files
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-10 19:48:26 +0800
committerknu <knu@FreeBSD.org>2001-04-10 19:48:26 +0800
commit64e037428c9986f02ec15cfcdb1437cc1d2ccc0c (patch)
treed00c8a55c6951316cd4083e21dc9ad02677b131e /shells/fd/files
parentcfdcafe2ad61173762a8a2a8569dd782274125e5 (diff)
downloadfreebsd-ports-gnome-64e037428c9986f02ec15cfcdb1437cc1d2ccc0c.tar.gz
freebsd-ports-gnome-64e037428c9986f02ec15cfcdb1437cc1d2ccc0c.tar.zst
freebsd-ports-gnome-64e037428c9986f02ec15cfcdb1437cc1d2ccc0c.zip
Re-update to 1.03r with a hotfix from the author. PORTREVISION is set
to 1 now due to this whole matter. Submitted by: MAINTAINER
Diffstat (limited to 'shells/fd/files')
-rw-r--r--shells/fd/files/patch-browse.c11
-rw-r--r--shells/fd/files/patch-shell.c12
2 files changed, 23 insertions, 0 deletions
diff --git a/shells/fd/files/patch-browse.c b/shells/fd/files/patch-browse.c
new file mode 100644
index 000000000000..e3c8c7e1cbe6
--- /dev/null
+++ b/shells/fd/files/patch-browse.c
@@ -0,0 +1,11 @@
+diff -urNP ../FD-1.03r/browse.c ./browse.c
+--- ../FD-1.03r/browse.c Tue Apr 3 00:00:00 2001
++++ ./browse.c Tue Apr 10 00:00:00 2001
+@@ -1305,6 +1305,7 @@
+ }
+ else if (_chdir2(cp) >= 0) strcpy(tmp, cp);
+ else {
++ *fullpath = '\0';
+ warning(-1, cp);
+ def = NULL;
+ strcpy(fullpath, origpath);
diff --git a/shells/fd/files/patch-shell.c b/shells/fd/files/patch-shell.c
new file mode 100644
index 000000000000..942eff6f7d06
--- /dev/null
+++ b/shells/fd/files/patch-shell.c
@@ -0,0 +1,12 @@
+diff -urNP ../FD-1.03r/shell.c ./shell.c
+--- ../FD-1.03r/shell.c Tue Apr 3 00:00:00 2001
++++ ./shell.c Tue Apr 10 00:00:00 2001
+@@ -240,7 +240,7 @@
+ if (flags & (F_NOEXT | F_TOSFN));
+ else if (c == '%') c = command[++i];
+ else {
+- line[j++] = c;
++ line[j++] = command[i];
+ #if !MSDOS
+ if (command[i] == META && command[i + 1]
+ && uneval != '\'')