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

ruby-changes:15719

From: ko1 <ko1@a...>
Date: Thu, 6 May 2010 18:14:11 +0900 (JST)
Subject: [ruby-changes:15719] Ruby:r27642 (trunk): * cont.c (fiber_setcontext): Fix last commit.

ko1	2010-05-06 18:13:54 +0900 (Thu, 06 May 2010)

  New Revision: 27642

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

  Log:
    * cont.c (fiber_setcontext): Fix last commit.

  Modified files:
    trunk/ChangeLog
    trunk/cont.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 27641)
+++ ChangeLog	(revision 27642)
@@ -1,3 +1,7 @@
+Thu May  6 18:12:43 2010  Koichi Sasada  <ko1@a...>
+
+	* cont.c (fiber_setcontext): Fix last commit.
+
 Thu May  6 17:16:42 2010  Nobuyoshi Nakada  <nobu@r...>
 
 	* time.c (rb_localtime_r2): get rid of infinite loop bug of
Index: cont.c
===================================================================
--- cont.c	(revision 27641)
+++ cont.c	(revision 27642)
@@ -621,6 +621,7 @@
 
     /* save  oldfib's machine stack */
     if (oldfib->status != TERMINATED) {
+	SET_MACHINE_STACK_END(&th->machine_stack_end);
 	switch (stackgrowdirection) {
 	    case STACK_GROW_DOWNWARD:
 		oldfib->cont.machine_stack_size = th->machine_stack_start - th->machine_stack_end;

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

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