Mercurial > vim
changeset 1568:4e581f1b08da v7.1.281
updated for version 7.1-281
author | vimboss |
---|---|
date | Sun, 16 Mar 2008 12:09:58 +0000 |
parents | 38de872507e1 |
children | 9fbb40a1228a |
files | src/if_cscope.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -2136,7 +2136,8 @@ cs_release_csp(i, freefnpp) # if defined(HAVE_SIGACTION) struct sigaction sa, old; - /* Use sigaction() to limit the waiting time to two seconds. */ + /* Use sigaction() to limit the waiting time to two seconds. */ + sigemptyset(&sa.sa_mask); sa.sa_handler = sig_handler; sa.sa_flags = SA_NODEFER; sigaction(SIGALRM, &sa, &old); @@ -2169,7 +2170,7 @@ cs_release_csp(i, freefnpp) */ if (pid < 0 && csinfo[i].pid > 1) { - kill(csinfo[i].pid, SIGTERM); + kill(csinfo[i].pid, SIGKILL); (void)waitpid(csinfo[i].pid, &pstat, 0); } }