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

ruby-changes:64107

From: Nobuyoshi <ko1@a...>
Date: Sat, 12 Dec 2020 11:48:59 +0900 (JST)
Subject: [ruby-changes:64107] 4e5156621e (master): [DOC] Process::Status.wait return nil if no child processes [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=4e5156621e

From 4e5156621e3557af98d3d91aff243278e1d8dbef Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 12 Dec 2020 11:44:25 +0900
Subject: [DOC] Process::Status.wait return nil if no child processes [ci skip]


diff --git a/process.c b/process.c
index 0e3baec..a8e0931 100644
--- a/process.c
+++ b/process.c
@@ -1367,8 +1367,8 @@ rb_process_status_wait(rb_pid_t pid, int flags) https://github.com/ruby/ruby/blob/trunk/process.c#L1367
  *  haven't been reported). Not all flags are available on all
  *  platforms, but a flag value of zero will work on all platforms.
  *
- *  Calling this method raises a SystemCallError if there are no child
- *  processes. Not available on all platforms.
+ *  Returns +nil+ if there are no child processes.
+ *  Not available on all platforms.
  *
  *  May invoke the scheduler hook _process_wait_.
  *
@@ -1383,7 +1383,7 @@ rb_process_status_wait(rb_pid_t pid, int flags) https://github.com/ruby/ruby/blob/trunk/process.c#L1383
  *     Process::Status.wait(pid, 0)                  #=> pid 27440 exit 99
  *     Time.now                                      #=> 2008-03-08 19:56:19 +0900
  *
- * EXPERIMENTAL FEATURE
+ *  This is an EXPERIMENTAL FEATURE.
  */
 
 VALUE
-- 
cgit v0.10.2


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

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