diff --git a/ChangeLog b/ChangeLog index 1a46121e14..32f7f83085 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Nov 4 08:19:31 2009 Nobuyoshi Nakada + + * cont.c (rb_fiber_start): fixed unconditional test. + Wed Nov 4 02:08:14 2009 Aaron Patterson * ext/dl/cptr.c (rb_dlptr_eql, rb_dlptr_cmp): DL::CPtr#== and DL::CPtr#<=> diff --git a/cont.c b/cont.c index b8b3553641..a77f35e6d2 100644 --- a/cont.c +++ b/cont.c @@ -858,7 +858,7 @@ rb_fiber_start(void) TH_POP_TAG(); if (state) { - if (TAG_RAISE) { + if (state == TAG_RAISE) { th->thrown_errinfo = th->errinfo; } else {