From 2d5061bd98a59fc1b9a477074f8f7a3500db8342 Mon Sep 17 00:00:00 2001 From: nobu Date: Fri, 26 Dec 2008 20:39:07 +0000 Subject: * process.c (after_fork): ignores a termination request in the parent process. [ruby-dev:37447] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'process.c') diff --git a/process.c b/process.c index cfc2e8d5f0..1e8546db06 100644 --- a/process.c +++ b/process.c @@ -978,7 +978,7 @@ static int forked_child = 0; #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" -- cgit v1.2.3