From fec2ed5f4d760d55aa6b123a55972e9d08c3beda Mon Sep 17 00:00:00 2001 From: nobu Date: Tue, 3 Nov 2009 23:19:33 +0000 Subject: [PATCH] * cont.c (rb_fiber_start): fixed unconditional test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ cont.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 {