summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-src::subshell.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/mc/files/patch-src::subshell.c')
-rw-r--r--misc/mc/files/patch-src::subshell.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/misc/mc/files/patch-src::subshell.c b/misc/mc/files/patch-src::subshell.c
index a1af27f4e718..3ebf5db70356 100644
--- a/misc/mc/files/patch-src::subshell.c
+++ b/misc/mc/files/patch-src::subshell.c
@@ -1,6 +1,6 @@
---- src/subshell.c.orig Mon Oct 21 01:43:29 2002
-+++ src/subshell.c Mon Oct 21 02:37:56 2002
-@@ -852,6 +852,8 @@
+--- src/subshell.c.orig Sat Jan 25 03:37:28 2003
++++ src/subshell.c Mon Feb 10 01:10:59 2003
+@@ -806,6 +806,8 @@
/* If it actually changed the directory it returns true */
void do_subshell_chdir (const char *directory, int do_update, int reset_prompt)
{
@@ -9,7 +9,7 @@
if (!(subshell_state == INACTIVE && strcmp (subshell_cwd, cpanel->cwd))){
/* We have to repaint the subshell prompt if we read it from
* the main program. Please note that in the code after this
-@@ -878,7 +880,12 @@
+@@ -838,7 +840,12 @@
subshell_state = RUNNING_COMMAND;
feed_subshell (QUIETLY, FALSE);
@@ -20,6 +20,6 @@
+ && (subshell_type != TCSH ||
+ realpath (subshell_cwd, buf) == NULL ||
+ strcmp (cpanel->cwd, buf)))
- fprintf (stderr, _("Warning: Couldn't change to %s.\n"), cpanel->cwd);
+ fprintf (stderr, _("Warning: Cannot change to %s.\n"), cpanel->cwd);
if (reset_prompt)