mirror of https://github.com/MidnightCommander/mc
* subshell.c (init_subshell_child): Does not g_strdup() constant string
in putenv() calls.
This commit is contained in:
parent
87635b05f3
commit
3fff2ff3c9
|
@ -1,3 +1,8 @@
|
|||
2004-12-08 Pavel Shirshov <me@pavelsh.pp.ru>
|
||||
|
||||
* subshell.c (init_subshell_child): Does not g_strdup() constant string
|
||||
in putenv() calls.
|
||||
|
||||
2004-12-03 Roland Illig <roland.illig@gmx.de>
|
||||
|
||||
* *.h: Renamed multiple inclusion guards that started with a
|
||||
|
|
|
@ -230,11 +230,11 @@ init_subshell_child (const char *pty_name)
|
|||
init_file = ".bashrc";
|
||||
|
||||
/* Make MC's special commands not show up in bash's history */
|
||||
putenv (g_strdup ("HISTCONTROL=ignorespace"));
|
||||
putenv ("HISTCONTROL=ignorespace");
|
||||
|
||||
/* Allow alternative readline settings for MC */
|
||||
if (access (".mc/inputrc", R_OK) == 0)
|
||||
putenv (g_strdup ("INPUTRC=.mc/inputrc"));
|
||||
putenv ("INPUTRC=.mc/inputrc");
|
||||
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in New Issue