summaryrefslogtreecommitdiff
path: root/shells/fd/files/patch-browse.c
diff options
context:
space:
mode:
Diffstat (limited to 'shells/fd/files/patch-browse.c')
-rw-r--r--shells/fd/files/patch-browse.c11
1 files changed, 11 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);