diff options
-rw-r--r-- | eval_error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eval_error.c b/eval_error.c index 8c6a0f9455..aef3226f99 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; } |