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

ruby-changes:9536

From: nobu <ko1@a...>
Date: Sat, 27 Dec 2008 05:39:48 +0900 (JST)
Subject: [ruby-changes:9536] Ruby:r21076 (trunk): * process.c (after_fork): ignores a termination request in the

nobu	2008-12-27 05:39:07 +0900 (Sat, 27 Dec 2008)

  New Revision: 21076

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

  Log:
    * process.c (after_fork): ignores a termination request in the
      parent process.  [ruby-dev:37447]

  Modified files:
    trunk/ChangeLog
    trunk/process.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 21075)
+++ ChangeLog	(revision 21076)
@@ -1,3 +1,8 @@
+Sat Dec 27 05:38:59 2008  Nobuyoshi Nakada  <nobu@r...>
+
+	* process.c (after_fork): ignores a termination request in the
+	  parent process.  [ruby-dev:37447]
+
 Sat Dec 27 01:52:39 2008  James Edward Gray II  <jeg2@r...>
 
 	* lib/csv.rb:  Using a more robust transcoding scheme to produce
@@ -197,7 +202,7 @@
 	* configure.in (OBJDUMP, OBJCOPY): autoconf list is not comma
 	  separated.
 
-	* configure.in (AC_HEADER_STDC, AC_CHECK_HEADERS AC_CHECK_FUNCS):
+	* configure.in (AC_HEADER_STDC, AC_CHECK_HEADERS, AC_CHECK_FUNCS):
 	  removed duplicated checks.
 
 Wed Dec 24 03:21:21 2008  Yukihiro Matsumoto  <matz@r...>
Index: process.c
===================================================================
--- process.c	(revision 21075)
+++ process.c	(revision 21076)
@@ -978,7 +978,7 @@
 #define after_exec() \
   (rb_thread_start_timer_thread(), forked_child = 0, rb_disable_interrupt())
 #define before_fork() before_exec()
-#define after_fork() after_exec()
+#define after_fork() (GET_THREAD()->thrown_errinfo = 0, after_exec())
 
 #include "dln.h"
 

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

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