Problem with stack size in pthreads
H . J . Lu
hjl@lucon.org
Tue Jul 17 22:30:00 GMT 2001
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.
More information about the Libc-alpha
mailing list