FreeBSD Bugzilla – Attachment 168338 Details for
Bug 208102
misc/mc: 4.8.16 has subshell disabled for SHELL=/bin/csh
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Fix subshell disabled problem for SHELL=/bin/csh
patch-lib__shell.c (text/plain), 522 bytes, created by
Zmiter
on 2016-03-17 22:36:01 UTC
(
hide
)
Description:
Fix subshell disabled problem for SHELL=/bin/csh
Filename:
MIME Type:
Creator:
Zmiter
Created:
2016-03-17 22:36:01 UTC
Size:
522 bytes
patch
obsolete
>--- lib/shell.c.orig >+++ lib/shell.c >@@ -162,6 +162,12 @@ mc_shell_recognize_and_fill_type (mc_shell_t * mc_shell) > mc_shell->type = SHELL_TCSH; > mc_shell->name = "tcsh"; > } >+ else if (strstr (mc_shell->path, "/csh") != NULL >+ || strstr (mc_shell->real_path, "/csh") != NULL) >+ { >+ mc_shell->type = SHELL_TCSH; >+ mc_shell->name = "csh"; >+ } > else if (strstr (mc_shell->path, "/fish") != NULL > || strstr (mc_shell->real_path, "/fish") != NULL) > {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 208102
: 168338 |
168343
|
168344