summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-src::subshell.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-02-26 17:06:16 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-02-26 17:06:16 +0000
commit59d9e42cc2edc98fd2c8445a7e6969c3f21103af (patch)
tree450bccf2ea15e72b662ca0656ca8feaa7079c0e6 /misc/mc/files/patch-src::subshell.c
parentupgrade to 0.1.5 (diff)
- add support for saving/restoring console [1]
- remove subshell fix (broken) [2] - bump port revision Submitted by: Alexander Serkov <serkov <at> ukrpost.net> (partially) [1] Reported by: yuri <at> tsoft.com [2]
Diffstat (limited to '')
-rw-r--r--misc/mc/files/patch-src::subshell.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/misc/mc/files/patch-src::subshell.c b/misc/mc/files/patch-src::subshell.c
deleted file mode 100644
index 3ebf5db70356..000000000000
--- a/misc/mc/files/patch-src::subshell.c
+++ /dev/null
@@ -1,25 +0,0 @@
---- 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)
- {
-+ char buf[MAXPATHLEN];
-+
- 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
-@@ -838,7 +840,12 @@
- subshell_state = RUNNING_COMMAND;
- feed_subshell (QUIETLY, FALSE);
-
-- if (subshell_alive && strcmp (subshell_cwd, cpanel->cwd) && strcmp (cpanel->cwd, "."))
-+ if (subshell_alive
-+ && strcmp (subshell_cwd, cpanel->cwd)
-+ && strcmp (cpanel->cwd, ".")
-+ && (subshell_type != TCSH ||
-+ realpath (subshell_cwd, buf) == NULL ||
-+ strcmp (cpanel->cwd, buf)))
- fprintf (stderr, _("Warning: Cannot change to %s.\n"), cpanel->cwd);
-
- if (reset_prompt)