Mercurial > hg > octave-kai > gnulib-hg
changeset 623:9834c73c0147
(re_max_failures): Reduce to 8000.
author | Richard Stallman <rms@gnu.org> |
---|---|
date | Sun, 02 Jun 1996 21:33:01 +0000 |
parents | 152fc00ed9b5 |
children | 0172424b71ac |
files | regex.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/regex.c +++ b/regex.c @@ -1008,7 +1008,9 @@ This is a variable only so users of regex can assign to it; we never change it ourselves. */ #if defined (MATCH_MAY_ALLOCATE) -int re_max_failures = 20000; +/* 8600 was enough to cause a crash on Ultrix, + whose default stack limit is 2mb. */ +int re_max_failures = 8000; #else int re_max_failures = 2000; #endif