Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit bd377449f01c033b6fd2c8c880611c1777c8e87d 1 parent e30dbb3
@nobu nobu authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  eval_jump.c
View
2  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;
Please sign in to comment.
Something went wrong with that request. Please try again.