summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-23 09:39:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-05-23 09:39:13 +0000
commit8a82c68e5bd07476bf51d386b1fe1cb1dad4a682 (patch)
treeb34edc86adf2ec0139fff995448acf3a3a3f8a98 /eval.c
parent0cc87df01c49ef96e4fb7cbd5ce74135c409db90 (diff)
* eval.c (rb_longjmp): wrong jump.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 a19601700d6..e8a1dbbdd59 100644
--- a/eval.c
+++ b/eval.c
@@ -3869,7 +3869,7 @@ rb_longjmp(tag, mesg)
}
POP_TAG();
thread_reset_raised();
- JUMP_TAG(tag);
+ if (status) JUMP_TAG(status);
}
rb_trap_restore_mask();