From bd377449f01c033b6fd2c8c880611c1777c8e87d Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 18 Mar 2012 15:21:00 +0000 Subject: [PATCH] volatile errinfo * eval_jump.c (rb_exec_end_proc): need volatile to prevent from setjmp/longjmp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- eval_jump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval_jump.c b/eval_jump.c index f3a1f78a3f..092ab8766a 100644 --- a/eval_jump.c +++ b/eval_jump.c @@ -100,7 +100,7 @@ rb_exec_end_proc(void) int status; volatile int safe = rb_safe_level(); rb_thread_t *th = GET_THREAD(); - VALUE errinfo = th->errinfo; + volatile VALUE errinfo = th->errinfo; while (ephemeral_end_procs) { link = ephemeral_end_procs;