summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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