4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
10 Patch 7.1.281 (after 7.1.279)
11 Problem: sa.sa_mask is not initialized. Cscope may not exit.
12 Solution: Use sigemptyset(). Use SIGKILL instead of SIGTERM. (Dominique
14 Files: src/if_cscope.c
17 *** ../vim-7.1.280/src/if_cscope.c Sat Mar 15 12:40:23 2008
18 --- src/if_cscope.c Sun Mar 16 13:05:51 2008
21 # if defined(HAVE_SIGACTION)
22 struct sigaction sa, old;
24 ! /* Use sigaction() to limit the waiting time to two seconds. */
25 sa.sa_handler = sig_handler;
26 sa.sa_flags = SA_NODEFER;
27 sigaction(SIGALRM, &sa, &old);
29 # if defined(HAVE_SIGACTION)
30 struct sigaction sa, old;
32 ! /* Use sigaction() to limit the waiting time to two seconds. */
33 ! sigemptyset(&sa.sa_mask);
34 sa.sa_handler = sig_handler;
35 sa.sa_flags = SA_NODEFER;
36 sigaction(SIGALRM, &sa, &old);
40 if (pid < 0 && csinfo[i].pid > 1)
42 ! kill(csinfo[i].pid, SIGTERM);
43 (void)waitpid(csinfo[i].pid, &pstat, 0);
48 if (pid < 0 && csinfo[i].pid > 1)
50 ! kill(csinfo[i].pid, SIGKILL);
51 (void)waitpid(csinfo[i].pid, &pstat, 0);
54 *** ../vim-7.1.280/src/version.c Sat Mar 15 13:10:57 2008
55 --- src/version.c Sun Mar 16 13:08:08 2008
59 { /* Add new patch number below this line */
65 hundred-and-one symptoms of being an internet addict:
66 136. You decide to stay in a low-paying job teaching just for the
69 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
70 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
71 \\\ download, build and distribute -- http://www.A-A-P.org ///
72 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///