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

ruby-changes:23969

From: akr <ko1@a...>
Date: Sun, 10 Jun 2012 21:13:49 +0900 (JST)
Subject: [ruby-changes:23969] akr:r36020 (trunk): * process.c (rb_fork): call rb_fork_internal instead of rb_fork_err.

akr	2012-06-10 21:13:33 +0900 (Sun, 10 Jun 2012)

  New Revision: 36020

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

  Log:
    * process.c (rb_fork): call rb_fork_internal instead of rb_fork_err.

  Modified files:
    trunk/ChangeLog
    trunk/process.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36019)
+++ ChangeLog	(revision 36020)
@@ -1,3 +1,7 @@
+Sun Jun 10 21:13:10 2012  Tanaka Akira  <akr@f...>
+
+	* process.c (rb_fork): call rb_fork_internal instead of rb_fork_err.
+
 Sun Jun 10 20:55:59 2012  Tanaka Akira  <akr@f...>
 
 	* process.c (rb_fork_ruby): call rb_fork_internal directly.
Index: process.c
===================================================================
--- process.c	(revision 36019)
+++ process.c	(revision 36020)
@@ -3003,10 +3003,10 @@
         struct chfunc_wrapper_t warg;
         warg.chfunc = chfunc;
         warg.arg = charg;
-        return rb_fork_err(status, chfunc_wrapper, &warg, fds, NULL, 0);
+        return rb_fork_internal(status, chfunc_wrapper, &warg, FALSE, fds, NULL, 0);
     }
     else {
-        return rb_fork_err(status, NULL, NULL, fds, NULL, 0);
+        return rb_fork_internal(status, NULL, NULL, FALSE, fds, NULL, 0);
     }
 
 }

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

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