summaryrefslogtreecommitdiff
path: root/shells/fd/files/patch-shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'shells/fd/files/patch-shell.c')
-rw-r--r--shells/fd/files/patch-shell.c12
1 files changed, 12 insertions, 0 deletions
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 != '\'')