* subshell.c (exit_subshell): Do not blindly perform cleanup.
Этот коммит содержится в:
родитель
b2b0d33105
Коммит
7a0f4c45ef
@ -1,3 +1,7 @@
|
|||||||
|
2005-06-07 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
|
* subshell.c (exit_subshell): Do not blindly perform cleanup.
|
||||||
|
|
||||||
2005-06-07 Roland Illig <roland.illig@gmx.de>
|
2005-06-07 Roland Illig <roland.illig@gmx.de>
|
||||||
|
|
||||||
* view.c (view_ccache_lookup): Replaced the min_nroff_column
|
* view.c (view_ccache_lookup): Replaced the min_nroff_column
|
||||||
|
@ -650,7 +650,8 @@ exit_subshell (void)
|
|||||||
_(" The shell is still active. Quit anyway? "),
|
_(" The shell is still active. Quit anyway? "),
|
||||||
0, 2, _("&Yes"), _("&No"));
|
0, 2, _("&Yes"), _("&No"));
|
||||||
|
|
||||||
if (quit && subshell_type == TCSH) {
|
if (quit) {
|
||||||
|
if (subshell_type == TCSH) {
|
||||||
if (unlink (tcsh_fifo) == -1)
|
if (unlink (tcsh_fifo) == -1)
|
||||||
fprintf (stderr, "Cannot remove named pipe %s: %s\r\n",
|
fprintf (stderr, "Cannot remove named pipe %s: %s\r\n",
|
||||||
tcsh_fifo, unix_error_string (errno));
|
tcsh_fifo, unix_error_string (errno));
|
||||||
@ -660,6 +661,7 @@ exit_subshell (void)
|
|||||||
g_free (pty_buffer);
|
g_free (pty_buffer);
|
||||||
subshell_prompt = NULL;
|
subshell_prompt = NULL;
|
||||||
pty_buffer = NULL;
|
pty_buffer = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
return quit;
|
return quit;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user