mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
e30dbb3671
commit
bd377449f0
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue