This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Problem with stack size in pthreads
On Tue, Jul 17, 2001 at 09:59:06PM -0700, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
>
> > 2001-07-17 H.J. Lu <hjl@gnu.org>
> >
> > * posix/tst-regex.c (main): Limit the size of the content of
> > the file read into memory.
>
> No. If the regex implementation has a problem with using too much
> stack it has to be changed. IMO no libc function should ever use more
> than, say 60k.
You can define REGEX_MALLOC in regex.c. But it still doesn't work.
It seems that heap gets corrupted this time.
H.J.