[haiku-development] Re: The Haiku stack end is not aligned

"Ryan Leavengood" <leavengood@xxxxxxxxx> wrote:
>     thread_info threadInfo;
>     get_thread_info(find_thread(NULL), &threadInfo);
>     return threadInfo.stack_end;
> 
> Is there something wrong with this? Is there some reason the 
> stack_end
> is not aligned? Should I just add a byte or two to the pointer?

Fixed in r22945 - on BeOS, the stack end pointer is exclusive, on Haiku 
it was inclusive up to now.
Thanks for the hint :-)

Bye,
   Axel.


Other related posts: