* eval_error.c (error_handle): commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7bb2b2f431
commit
51411c1f88
@ -237,7 +237,7 @@ error_handle(int ex)
|
|||||||
int status = EXIT_FAILURE;
|
int status = EXIT_FAILURE;
|
||||||
rb_thread_t *th = GET_THREAD();
|
rb_thread_t *th = GET_THREAD();
|
||||||
|
|
||||||
if (thread_set_raised(th))
|
if (rb_thread_set_raised(th))
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
switch (ex & TAG_MASK) {
|
switch (ex & TAG_MASK) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -287,6 +287,6 @@ error_handle(int ex)
|
|||||||
rb_bug("Unknown longjmp status %d", ex);
|
rb_bug("Unknown longjmp status %d", ex);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
thread_reset_raised(th);
|
rb_thread_reset_raised(th);
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user