diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | cont.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Wed Nov 4 08:19:31 2009 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * cont.c (rb_fiber_start): fixed unconditional test. + Wed Nov 4 02:08:14 2009 Aaron Patterson <tenderlove@ruby-lang.org> * ext/dl/cptr.c (rb_dlptr_eql, rb_dlptr_cmp): DL::CPtr#== and DL::CPtr#<=> @@ -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 { |