summaryrefslogtreecommitdiff
path: root/eval_jump.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-18 15:21:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-03-18 15:21:00 +0000
commitbd377449f01c033b6fd2c8c880611c1777c8e87d (patch)
tree47371a45cb39fa017ec046a446d1e8c3f920bd9c /eval_jump.c
parente30dbb36718a3a1b6c5f7cd2701e46c9b4f285b9 (diff)
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
Diffstat (limited to 'eval_jump.c')
-rw-r--r--eval_jump.c2
1 files changed, 1 insertions, 1 deletions
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;