From e4c452daf8030575f83c3bae49cb0fe9a76c7e89 Mon Sep 17 00:00:00 2001 From: kanemoto Date: Sun, 10 Jul 2011 20:39:35 +0000 Subject: * thread_pthread.c (get_stack): need to adjust stack addr for [Bug #1813] on AIX. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread_pthread.c | 1 + 1 file changed, 1 insertion(+) (limited to 'thread_pthread.c') diff --git a/thread_pthread.c b/thread_pthread.c index d4d3bb5de3..13a8b359e1 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -518,6 +518,7 @@ get_stack(void **addr, size_t *size) ®, ®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 -- cgit v1.2.3