ruby-changes:20471
From: kanemoto <ko1@a...>
Date: Mon, 11 Jul 2011 23:49:47 +0900 (JST)
Subject: [ruby-changes:20471] kanemoto:r32519 (ruby_1_9_3): thread_pthread.c (get_stack): need to adjust stack addr for
kanemoto 2011-07-11 23:49:36 +0900 (Mon, 11 Jul 2011) New Revision: 32519 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32519 Log: thread_pthread.c (get_stack): need to adjust stack addr for [Bug #1813] on AIX. backported r32511 from trunk. Modified files: branches/ruby_1_9_3/ChangeLog branches/ruby_1_9_3/thread_pthread.c Index: ruby_1_9_3/ChangeLog =================================================================== --- ruby_1_9_3/ChangeLog (revision 32518) +++ ruby_1_9_3/ChangeLog (revision 32519) @@ -1,3 +1,8 @@ +Mon Jul 11 23:47:00 2011 Yutaka Kanemoto <kanemoto@r...> + + * thread_pthread.c (get_stack): need to adjust stack addr for + [Bug #1813] on AIX. backported r32511 from trunk. + Mon Jul 11 15:17:03 2011 NAKAMURA Usaku <usa@r...> * numeric.c (rb_num2ull): use FIX2LONG instead of FIX2ULONG. see Index: ruby_1_9_3/thread_pthread.c =================================================================== --- ruby_1_9_3/thread_pthread.c (revision 32518) +++ ruby_1_9_3/thread_pthread.c (revision 32519) @@ -518,6 +518,7 @@ ®, ®siz)); *addr = thinfo.__pi_stackaddr; *size = thinfo.__pi_stacksize; + STACK_DIR_UPPER((void)0, (void)(*addr = (char *)*addr + *size)); #else #error STACKADDR_AVAILABLE is defined but not implemented. #endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/