]> git.pld-linux.org Git - packages/vim.git/blame - 7.2.097
- new
[packages/vim.git] / 7.2.097
CommitLineData
3e524028
AG
1To: vim-dev@vim.org
2Subject: Patch 7.2.097
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=ISO-8859-1
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.2.097
11Problem: "!xterm&" doesn't work when 'shell' is "bash".
12Solution: Ignore SIGHUP after calling setsid(). (Simon Schubert)
13Files: src/os_unix.c
14
15
16*** ../vim-7.2.096/src/os_unix.c Fri Nov 28 21:26:50 2008
17--- src/os_unix.c Wed Feb 4 12:09:55 2009
18***************
19*** 3950,3956 ****
20--- 3950,3966 ----
21 * children can be kill()ed. Don't do this when using pipes,
22 * because stdin is not a tty, we would lose /dev/tty. */
23 if (p_stmp)
24+ {
25 (void)setsid();
26+ # if defined(SIGHUP)
27+ /* When doing "!xterm&" and 'shell' is bash: the shell
28+ * will exit and send SIGHUP to all processes in its
29+ * group, killing the just started process. Ignore SIGHUP
30+ * to avoid that. (suggested by Simon Schubert)
31+ */
32+ signal(SIGHUP, SIG_IGN);
33+ # endif
34+ }
35 # endif
36 # ifdef FEAT_GUI
37 if (pty_slave_fd >= 0)
38*** ../vim-7.2.096/src/version.c Wed Feb 4 13:13:42 2009
39--- src/version.c Wed Feb 4 14:16:37 2009
40***************
41*** 678,679 ****
42--- 678,681 ----
43 { /* Add new patch number below this line */
44+ /**/
45+ 97,
46 /**/
47
48--
49It was recently discovered that research causes cancer in rats.
50
51 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
52/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
53\\\ download, build and distribute -- http://www.A-A-P.org ///
54 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
This page took 0.02597 seconds and 4 git commands to generate.