summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 662af1206..ad7465630 100644
--- a/eval.c
+++ b/eval.c
@@ -11652,7 +11652,7 @@ rb_thread_start_0(fn, arg, th)
new_thread.proc = rb_block_proc();
new_thread.arg = (VALUE)arg;
th->anchor = ip;
- longjmp(ip->tag->buf, TAG_THREAD);
+ longjmp((prot_tag = ip->tag)->buf, TAG_THREAD);
}
if (ruby_block) { /* should nail down higher blocks */