summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-26 04:09:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-26 04:09:31 +0000
commita52be8fb8fc61d7e0aa4cba452c30497fd495590 (patch)
tree30ea03de9707dea202278552a95ab65d8c254f1e
parentdac394e39d74e523ded9ae05e4c3562ceaca73c1 (diff)
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
-rw-r--r--ChangeLog5
-rw-r--r--signal.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index eadbae7..71aed6e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Tue Jan 26 13:08:34 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * 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 <josephtibbertsma@gmail.com>
* gc.c (RVALUE_PAGE_WB_UNPROTECTED): fix a typo of argument name.
diff --git a/signal.c b/signal.c
index 49b547a..cac90db 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