From a52be8fb8fc61d7e0aa4cba452c30497fd495590 Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 26 Jan 2016 04:09:31 +0000 Subject: [PATCH] signal.c: reserved signals * signal.c (rb_f_kill): should immediately deliver reserved signals SIGILL and SIGFPE, ont only SIGSEGV and SIGBUS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ signal.c | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index eadbae7731..71aed6e955 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Jan 26 13:08:34 2016 Nobuyoshi Nakada + + * signal.c (rb_f_kill): should immediately deliver reserved + signals SIGILL and SIGFPE, ont only SIGSEGV and SIGBUS. + Tue Jan 26 07:57:28 2016 Joseph Tibbertsma * gc.c (RVALUE_PAGE_WB_UNPROTECTED): fix a typo of argument name. diff --git a/signal.c b/signal.c index 49b547ae4f..cac90db69c 100644 --- a/signal.c +++ b/signal.c @@ -485,6 +485,12 @@ rb_f_kill(int argc, const VALUE *argv) #ifdef SIGKILL case SIGKILL: #endif +#ifdef SIGILL + case SIGILL: +#endif +#ifdef SIGFPE + case SIGFPE: +#endif #ifdef SIGSTOP case SIGSTOP: #endif