Project

General

Profile

Bug #2611 ยป err_print.patch

wanabe (_ wanabe), 01/28/2010 07:19 PM

View differences:

eval_error.c (working copy)
error_print(void)
{
volatile VALUE errat = Qnil; /* OK */
VALUE errinfo = GET_THREAD()->errinfo;
rb_thread_t *th = GET_THREAD();
VALUE errinfo = th->errinfo;
volatile VALUE eclass, e;
const char *volatile einfo;
volatile long elen;
if (NIL_P(errinfo))
return;
rb_thread_raised_clear(th);
PUSH_TAG();
if (EXEC_TAG() == 0) {
    (1-1/1)