ruby-changes:20463
From: kanemoto <ko1@a...>
Date: Mon, 11 Jul 2011 05:40:47 +0900 (JST)
Subject: [ruby-changes:20463] kanemoto:r32511 (trunk): * thread_pthread.c (get_stack): need to adjust stack addr for
kanemoto 2011-07-11 05:39:35 +0900 (Mon, 11 Jul 2011) New Revision: 32511 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32511 Log: * thread_pthread.c (get_stack): need to adjust stack addr for [Bug #1813] on AIX. Modified files: trunk/ChangeLog trunk/thread_pthread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 32510) +++ ChangeLog (revision 32511) @@ -1,3 +1,8 @@ +Mon Jul 11 05:38:05 2011 Yutaka Kanemoto <kanemoto@r...> + + * thread_pthread.c (get_stack): need to adjust stack addr for + [Bug #1813] on AIX. + Mon Jul 11 01:16:27 2011 KOSAKI Motohiro <kosaki.motohiro@g...> * thread_pthread.c (rb_thread_create_timer_thread): removed Index: thread_pthread.c =================================================================== --- thread_pthread.c (revision 32510) +++ thread_pthread.c (revision 32511) @@ -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/