summaryrefslogtreecommitdiff
path: root/misc/mc/files/patch-src-subshell.c
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2006-07-24 16:48:38 +0000
committerMax Khon <fjoe@FreeBSD.org>2006-07-24 16:48:38 +0000
commitda74184122dd83a7414aee7d85f0c51b7e2ebd0c (patch)
tree25e1cd1e13847c015f44893f4788b156b3336250 /misc/mc/files/patch-src-subshell.c
parent- Update to 2.14.2 (diff)
- Recongnize csh as TCSH shell
- Fix case-insensitive file search - Bump PORTREVISION PR: 99428, 99424 Submitted by: Stanislav Sedov
Diffstat (limited to '')
-rw-r--r--misc/mc/files/patch-src-subshell.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/mc/files/patch-src-subshell.c b/misc/mc/files/patch-src-subshell.c
new file mode 100644
index 000000000000..364640a91165
--- /dev/null
+++ b/misc/mc/files/patch-src-subshell.c
@@ -0,0 +1,12 @@
+diff -ruN src/subshell.c.orig src/subshell.c
+--- src/subshell.c.orig Wed Jun 14 15:45:12 2006
++++ src/subshell.c Wed Jun 14 15:45:39 2006
+@@ -395,6 +395,8 @@
+ subshell_type = ZSH;
+ else if (strstr (shell, "/tcsh"))
+ subshell_type = TCSH;
++ else if (strstr (shell, "/csh"))
++ subshell_type = TCSH;
+ else if (strstr (shell, "/bash") || getenv ("BASH"))
+ subshell_type = BASH;
+ else {