summaryrefslogtreecommitdiff
path: root/shells/fd/files
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-10 11:48:26 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-10 11:48:26 +0000
commitf7c634fd5e7c337bf4314da19c630d3bbce3842b (patch)
tree9a21a0a64a56e4e639c6ebabde52e7023a66ecc2 /shells/fd/files
parent- Add new port of (diff)
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
Notes
Notes: svn path=/head/; revision=41198
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 != '\'')