From 8d74e302ba7b5520de0e7e35fb69c82fe8952fd3 Mon Sep 17 00:00:00 2001 From: yugui Date: Sat, 8 Aug 2009 15:34:03 +0000 Subject: merges r24401 from trunk into ruby_1_9_1. -- * eval.c (rb_longjmp): reset raised flag before fatal error. * eval_error.c (error_print): file can be NULL. line can be 0. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@24467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval.c | 1 + 1 file changed, 1 insertion(+) (limited to 'eval.c') diff --git a/eval.c b/eval.c index bd4d1228d..3cbc60f47 100644 --- a/eval.c +++ b/eval.c @@ -345,6 +345,7 @@ rb_longjmp(int tag, VALUE mesg) if (rb_thread_set_raised(th)) { th->errinfo = exception_error; + rb_thread_reset_raised(th); JUMP_TAG(TAG_FATAL); } -- cgit