On Apr 28, 2014, at 1:10 PM, Khem Raj <[email protected]> wrote:
> On Mon, Apr 28, 2014 at 8:38 AM, Drew Moseley <[email protected]> wrote:
>> From: Drew Moseley <[email protected]>
>>
>> The check for the config variable is using the wrong define
>> resulting in the #else always being used.
>>
>
> good catch. Looks good to me Thanks for the patch.
Hi Khem,
I'm curious about the safety of using alloca() here. In my
particular config, without the fix to use posix_fallocate(), it was
attempting to allocate 8MB on the stack, evidently failing, and
then segfaulting. And there is evidently no error return value
from alloca so any time it fails a segfault is the likely result.
Thoughts?
Drew
--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core