1
1

* subshell.c (init_subshell_child): Does not g_strdup() constant string

in putenv() calls.
Этот коммит содержится в:
Andrew V. Samoilov 2004-12-08 13:07:53 +00:00
родитель 87635b05f3
Коммит 3fff2ff3c9
2 изменённых файлов: 7 добавлений и 2 удалений

Просмотреть файл

@ -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;