Justin Vallon <vallon(a)mindspring.com> wrote:
So, the patch is basically: If !defined(MATCH_MAY_ALLOCATE)
&& __hpux,
increase the amount of space regexp_compile allocates up-front for the
worst case (max allowed) stack size (via malloc not alloca). Discounting
config.h features, every platform that hits this line would probably
benefit from increasing the stack size.
Don't you mean:
!defined(MATCH_MAY_ALLOCATE) || __hpux
Anyway, I'd like to point out that the default max stack size under HP-UX is 2MB.
--
Darryl Okahata
darrylo(a)sr.hp.com
DISCLAIMER: this message is the author's personal opinion and does not
constitute the support, opinion, or policy of Hewlett-Packard, or of the
little green men that have been following him all day.