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

ruby-changes:35894

From: normal <ko1@a...>
Date: Thu, 16 Oct 2014 16:27:38 +0900 (JST)
Subject: [ruby-changes:35894] normal:r47975 (trunk): cont.c (fiber_store): fix WIN32 fibers

normal	2014-10-16 16:27:26 +0900 (Thu, 16 Oct 2014)

  New Revision: 47975

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

  Log:
    cont.c (fiber_store): fix WIN32 fibers
    
    [ruby-core:65745] [ruby-core:65758]

  Modified files:
    trunk/ChangeLog
    trunk/cont.c
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 47974)
+++ ChangeLog	(revision 47975)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Thu Oct 16 16:26:09 2014  Eric Wong  <e@8...>
+
+	* cont.c (fiber_store): fix WIN32 fibers
+	  [ruby-core:65745] [ruby-core:65758]
+
 Thu Oct 16 15:05:07 2014  Nobuyoshi Nakada  <nobu@r...>
 
 	* parse.y (parser_here_document): do not append already appended
Index: cont.c
===================================================================
--- cont.c	(revision 47974)
+++ cont.c	(revision 47975)
@@ -1366,10 +1366,10 @@ fiber_store(rb_fiber_t *next_fib, rb_thr https://github.com/ruby/ruby/blob/trunk/cont.c#L1366
 	terminated_machine_stack.ptr = NULL;
 	terminated_machine_stack.size = 0;
     }
+#endif /* not _WIN32 */
     fib = th->fiber;
     if (fib->cont.argc == -1) rb_exc_raise(fib->cont.value);
     return fib->cont.value;
-#endif /* not _WIN32 */
 
 #else /* FIBER_USE_NATIVE */
     cont_save_machine_stack(th, &fib->cont);

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

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