This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix stacksize returned for main process thread whenRLIMIT_STACK is relevant
On Wed, Jun 20, 2012 at 5:47 AM, Siddhesh Poyarekar <siddhesh@redhat.com> wrote:
> On Wed, 20 Jun 2012 01:20:28 -0400, KOSAKI wrote:
>> Ah, I have one another req.
>>
>> +static void
>> +allocate_and_test (void *stackaddr)
>> +{
>> + ?void *mem = &mem;
>> + ?mem = alloca ((size_t) (mem - stackaddr));
>> + ?*(int *)(mem) = 0;
>> +}
>>
>>
>> This is slightly HPPA unfrinedly. please mark TODO for help Carlos.
>
> All of nptl is hppa-unfriendly right now ;)
>
> I've added a FIXME comment to the patch and have committed as a
> trivial change to my submission:
Thank you :-)
Cheers,
Carlos.