diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-13 14:12:55 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-13 14:12:55 +0000 |
commit | f7f23c5b3e6cc349f6557537096cbff9089f8ace (patch) | |
tree | cfca32ea387d8dc763a336ec7d33be9e49674494 /eval.c | |
parent | 184af94a44abe3cdbb58866d0878f7f246a990a2 (diff) | |
download | ruby-f7f23c5b3e6cc349f6557537096cbff9089f8ace.tar.gz ruby-f7f23c5b3e6cc349f6557537096cbff9089f8ace.tar.xz ruby-f7f23c5b3e6cc349f6557537096cbff9089f8ace.zip |
* eval.c (rb_thread_start_0): restore prot_tag before rewinding.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval.c')
-rw-r--r-- | eval.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |