Mercurial > vim
changeset 2701:6d80dbca8501 v7.3.118
updated for version 7.3.118
Problem: Ruby uses SIGVTALARM which makes Vim exit. (Alec Tica)
Solution: Ignore SIGVTALARM. (Dominique Pelle)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 09 Feb 2011 18:47:40 +0100 |
parents | 7c46737918cb |
children | 77f3dd990b12 |
files | src/os_unix.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/os_unix.c +++ b/src/os_unix.c @@ -283,7 +283,7 @@ static struct signalinfo #ifdef SIGTERM {SIGTERM, "TERM", TRUE}, #endif -#ifdef SIGVTALRM +#if defined(SIGVTALRM) && !defined(FEAT_RUBY) {SIGVTALRM, "VTALRM", TRUE}, #endif #if defined(SIGPROF) && !defined(FEAT_MZSCHEME) && !defined(WE_ARE_PROFILING) @@ -1107,7 +1107,7 @@ deathtrap SIGDEFARG(sigarg) * On Linux, signal is not always handled immediately either. * See https://bugs.launchpad.net/bugs/291373 * - * volatile because it is used in in signal handler sigcont_handler(). + * volatile because it is used in signal handler sigcont_handler(). */ static volatile int sigcont_received; static RETSIGTYPE sigcont_handler __ARGS(SIGPROTOARG);