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

ruby-changes:36277

From: nobu <ko1@a...>
Date: Mon, 10 Nov 2014 16:09:52 +0900 (JST)
Subject: [ruby-changes:36277] nobu:r48358 (trunk): signal.c: signal list to kill

nobu	2014-11-10 16:09:45 +0900 (Mon, 10 Nov 2014)

  New Revision: 48358

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

  Log:
    signal.c: signal list to kill
    
    * signal.c (rb_f_kill): [DOC] mention known signal list.
      [ruby-core:66162] [Bug #10492]

  Modified files:
    trunk/ChangeLog
    trunk/signal.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 48357)
+++ ChangeLog	(revision 48358)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Mon Nov 10 16:09:43 2014  Nobuyoshi Nakada  <nobu@r...>
+
+	* signal.c (rb_f_kill): [DOC] mention known signal list.
+	  [ruby-core:66162] [Bug #10492]
+
 Mon Nov 10 14:17:58 2014  SHIBATA Hiroshi  <shibata.hiroshi@g...>
 
 	* lib/rdoc/*.rb: Update to RDoc 4.2.0.alpha(579a11c)
Index: signal.c
===================================================================
--- signal.c	(revision 48357)
+++ signal.c	(revision 48358)
@@ -374,6 +374,8 @@ static void signal_enque(int sig); https://github.com/ruby/ruby/blob/trunk/signal.c#L374
  *  a POSIX signal name (either with or without a +SIG+ prefix). If _signal_ is
  *  negative (or starts with a minus sign), kills process groups instead of
  *  processes. Not all signals are available on all platforms.
+ *  The keys and values of +Signal.list+ are known signal names and numbers,
+ *  respectively.
  *
  *     pid = fork do
  *        Signal.trap("HUP") { puts "Ouch!"; exit }

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

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