* subshell.c (init_subshell_child): Does not g_strdup() constant string
in putenv() calls.
Этот коммит содержится в:
родитель
87635b05f3
Коммит
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>
|
2004-12-03 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* *.h: Renamed multiple inclusion guards that started with a
|
* *.h: Renamed multiple inclusion guards that started with a
|
||||||
|
@ -230,11 +230,11 @@ init_subshell_child (const char *pty_name)
|
|||||||
init_file = ".bashrc";
|
init_file = ".bashrc";
|
||||||
|
|
||||||
/* Make MC's special commands not show up in bash's history */
|
/* 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 */
|
/* Allow alternative readline settings for MC */
|
||||||
if (access (".mc/inputrc", R_OK) == 0)
|
if (access (".mc/inputrc", R_OK) == 0)
|
||||||
putenv (g_strdup ("INPUTRC=.mc/inputrc"));
|
putenv ("INPUTRC=.mc/inputrc");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user