[前][次][番号順一覧][スレッド一覧]

ruby-changes:13837

From: nobu <ko1@a...>
Date: Wed, 4 Nov 2009 08:19:53 +0900 (JST)
Subject: [ruby-changes:13837] Ruby:r25637 (trunk): * cont.c (rb_fiber_start): fixed unconditional test.

nobu	2009-11-04 08:19:33 +0900 (Wed, 04 Nov 2009)

  New Revision: 25637

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25637

  Log:
    * cont.c (rb_fiber_start): fixed unconditional test.

  Modified files:
    trunk/ChangeLog
    trunk/cont.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 25636)
+++ ChangeLog	(revision 25637)
@@ -1,3 +1,7 @@
+Wed Nov  4 08:19:31 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* cont.c (rb_fiber_start): fixed unconditional test.
+
 Wed Nov  4 02:08:14 2009  Aaron Patterson <tenderlove@r...>
 
 	* ext/dl/cptr.c (rb_dlptr_eql, rb_dlptr_cmp): DL::CPtr#== and DL::CPtr#<=>
Index: cont.c
===================================================================
--- cont.c	(revision 25636)
+++ cont.c	(revision 25637)
@@ -858,7 +858,7 @@
     TH_POP_TAG();
 
     if (state) {
-	if (TAG_RAISE) {
+	if (state == TAG_RAISE) {
 	    th->thrown_errinfo = th->errinfo;
 	}
 	else {

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]