summaryrefslogtreecommitdiff
path: root/process.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-26 20:39:07 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-12-26 20:39:07 +0000
commit2d5061bd98a59fc1b9a477074f8f7a3500db8342 (patch)
treef1af1c4272ec5c048b5b33130ef3a4500fa95ca0 /process.c
parentb2e95674f6c866ad5830e28c8791fbb125777432 (diff)
* 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
Diffstat (limited to 'process.c')
-rw-r--r--process.c2
1 files changed, 1 insertions, 1 deletions
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"