[前][次][番号順一覧][スレッド一覧]

ruby-changes:41582

From: nobu <ko1@a...>
Date: Tue, 26 Jan 2016 13:08:42 +0900 (JST)
Subject: [ruby-changes:41582] nobu:r53656 (trunk): signal.c: reserved signals

nobu	2016-01-26 13:09:31 +0900 (Tue, 26 Jan 2016)

  New Revision: 53656

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53656

  Log:
    signal.c: reserved signals
    
    * signal.c (rb_f_kill): should immediately deliver reserved
      signals SIGILL and SIGFPE, ont only SIGSEGV and SIGBUS.

  Modified files:
    trunk/ChangeLog
    trunk/signal.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53655)
+++ ChangeLog	(revision 53656)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Tue Jan 26 13:08:34 2016  Nobuyoshi Nakada  <nobu@r...>
+
+	* 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@g...>
 
 	* gc.c (RVALUE_PAGE_WB_UNPROTECTED): fix a typo of argument name.
Index: signal.c
===================================================================
--- signal.c	(revision 53655)
+++ signal.c	(revision 53656)
@@ -485,6 +485,12 @@ rb_f_kill(int argc, const VALUE *argv) https://github.com/ruby/ruby/blob/trunk/signal.c#L485
 #ifdef SIGKILL
 		  case SIGKILL:
 #endif
+#ifdef SIGILL
+		  case SIGILL:
+#endif
+#ifdef SIGFPE
+		  case SIGFPE:
+#endif
 #ifdef SIGSTOP
 		  case SIGSTOP:
 #endif

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]