summaryrefslogtreecommitdiff
path: root/eval_error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-28 05:59:13 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-28 05:59:13 +0000
commit51411c1f882e8d455249de2768366c25ba3a9b50 (patch)
tree674f6b84c2728cdfe81ce4a3a252cf1e9ed332bb /eval_error.c
parent7bb2b2f43159355487971808d274bc5add30868b (diff)
* eval_error.c (error_handle): commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'eval_error.c')
-rw-r--r--eval_error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/eval_error.c b/eval_error.c
index 8c6a0f9..aef3226 100644
--- a/eval_error.c
+++ b/eval_error.c
@@ -237,7 +237,7 @@ error_handle(int ex)
int status = EXIT_FAILURE;
rb_thread_t *th = GET_THREAD();
- if (thread_set_raised(th))
+ if (rb_thread_set_raised(th))
return EXIT_FAILURE;
switch (ex & TAG_MASK) {
case 0:
@@ -287,6 +287,6 @@ error_handle(int ex)
rb_bug("Unknown longjmp status %d", ex);
break;
}
- thread_reset_raised(th);
+ rb_thread_reset_raised(th);
return status;
}