freebsd-ports/misc/mc/files/patch-src-subshell.c
Max Khon da74184122 - Recongnize csh as TCSH shell
- Fix case-insensitive file search
- Bump PORTREVISION

PR:		99428, 99424
Submitted by:	Stanislav Sedov
2006-07-24 16:48:38 +00:00

12 lines
398 B
C

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 {