mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.2-097
This commit is contained in:
@@ -3950,7 +3950,17 @@ mch_call_shell(cmd, options)
|
|||||||
* children can be kill()ed. Don't do this when using pipes,
|
* children can be kill()ed. Don't do this when using pipes,
|
||||||
* because stdin is not a tty, we would lose /dev/tty. */
|
* because stdin is not a tty, we would lose /dev/tty. */
|
||||||
if (p_stmp)
|
if (p_stmp)
|
||||||
|
{
|
||||||
(void)setsid();
|
(void)setsid();
|
||||||
|
# if defined(SIGHUP)
|
||||||
|
/* When doing "!xterm&" and 'shell' is bash: the shell
|
||||||
|
* will exit and send SIGHUP to all processes in its
|
||||||
|
* group, killing the just started process. Ignore SIGHUP
|
||||||
|
* to avoid that. (suggested by Simon Schubert)
|
||||||
|
*/
|
||||||
|
signal(SIGHUP, SIG_IGN);
|
||||||
|
# endif
|
||||||
|
}
|
||||||
# endif
|
# endif
|
||||||
# ifdef FEAT_GUI
|
# ifdef FEAT_GUI
|
||||||
if (pty_slave_fd >= 0)
|
if (pty_slave_fd >= 0)
|
||||||
|
@@ -676,6 +676,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
97,
|
||||||
/**/
|
/**/
|
||||||
96,
|
96,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user