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

ruby-changes:5946

From: usa <ko1@a...>
Date: Fri, 20 Jun 2008 03:27:36 +0900 (JST)
Subject: [ruby-changes:5946] Ruby:r17454 (trunk): * process.c (rb_f_fork): NetBSD 4.0 or later can fork.

usa	2008-06-20 03:27:14 +0900 (Fri, 20 Jun 2008)

  New Revision: 17454

  Modified files:
    trunk/ChangeLog
    trunk/process.c

  Log:
    * process.c (rb_f_fork): NetBSD 4.0 or later can fork.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=17454&r2=17453&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/process.c?r1=17454&r2=17453&diff_format=u

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 17453)
+++ ChangeLog	(revision 17454)
@@ -1,3 +1,7 @@
+Fri Jun 20 03:26:00 2008  NAKAMURA Usaku  <usa@r...>
+
+	* process.c (rb_f_fork): NetBSD 4.0 or later can fork.
+
 Fri Jun 20 03:19:39 2008  Yusuke Endoh  <mame@t...>
 
 	* test/testunit/collector/test_dir.rb: r15825 made it unnecessary to change
Index: process.c
===================================================================
--- process.c	(revision 17453)
+++ process.c	(revision 17454)
@@ -2398,7 +2398,7 @@
 static VALUE
 rb_f_fork(VALUE obj)
 {
-#if defined(HAVE_FORK) && !defined(__NetBSD__)
+#if defined(HAVE_FORK) && !(defined(__NetBSD__) && __NetBSD_Version__ < 400000000)
     rb_pid_t pid;
 
     rb_secure(2);

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

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