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

ruby-changes:24911

From: zzak <ko1@a...>
Date: Fri, 14 Sep 2012 00:24:18 +0900 (JST)
Subject: [ruby-changes:24911] zzak:r36962 (trunk): * signal.c (rb_f_kill):

zzak	2012-09-14 00:24:05 +0900 (Fri, 14 Sep 2012)

  New Revision: 36962

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

  Log:
    * signal.c (rb_f_kill):
      Update documentation for Process.kill to reflect kill(2)
      Patch by Richo Healey

  Modified files:
    trunk/ChangeLog
    trunk/signal.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36961)
+++ ChangeLog	(revision 36962)
@@ -1,3 +1,9 @@
+Fri Sep 14 00:20:00 2012  Zachary Scott  <zzak@r...>
+
+	* signal.c (rb_f_kill):
+	  Update documentation for Process.kill to reflect kill(2)
+	  Patch by Richo Healey
+
 Thu Sep 13 21:40:49 2012  Hiroshi Shirosaki  <h.shirosaki@g...>
 
 	* lib/securerandom.rb (SecureRandom.random_bytes):
Index: signal.c
===================================================================
--- signal.c	(revision 36961)
+++ signal.c	(revision 36962)
@@ -304,11 +304,11 @@
  *  call-seq:
  *     Process.kill(signal, pid, ...)    -> fixnum
  *
- *  Sends the given signal to the specified process id(s), or to the
- *  current process if _pid_ is zero. _signal_ may be an
- *  integer signal number or 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
+ *  Sends the given signal to the specified process id(s) if _pid_ is positive.
+ *  If _pid_ is zero _signal_ is sent to all processes whose group ID is equal
+ *  to the group ID of the process. _signal_ may be an integer signal number or
+ *  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.
  *
  *     pid = fork do

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

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