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

ruby-changes:28424

From: akr <ko1@a...>
Date: Fri, 26 Apr 2013 17:43:48 +0900 (JST)
Subject: [ruby-changes:28424] akr:r40476 (trunk): * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.

akr	2013-04-26 17:43:37 +0900 (Fri, 26 Apr 2013)

  New Revision: 40476

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

  Log:
    * thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
      This fixes a compilation failure while cross-compiling for ARM.

  Modified files:
    trunk/ChangeLog
    trunk/thread_pthread.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 40475)
+++ ChangeLog	(revision 40476)
@@ -1,3 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Fri Apr 26 17:41:17 2013  Tanaka Akira  <akr@f...>
+
+	* thread_pthread.c (ruby_init_stack): Add STACK_GROW_DIR_DETECTION.
+	  This fixes a compilation failure while cross-compiling for ARM.
+
 Fri Apr 26 14:35:00 2013  Zachary Scott  <zachary@z...>
 
 	* lib/rss/atom.rb: Documentation for RSS::Atom based on a patch by
Index: thread_pthread.c
===================================================================
--- thread_pthread.c	(revision 40475)
+++ thread_pthread.c	(revision 40476)
@@ -672,6 +672,7 @@ ruby_init_stack(volatile VALUE *addr https://github.com/ruby/ruby/blob/trunk/thread_pthread.c#L672
     /* it should be on co-routine (alternative stack). [Feature #2294] */
     {
 	void *start, *end;
+	STACK_GROW_DIR_DETECTION;
 
 	if (IS_STACK_DIR_UPPER()) {
 	    start = native_main_thread.stack_start;

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

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