# HG changeset patch # User Richard M. Stallman # Date 833751181 0 # Node ID b8fe384dbeee4e26883fa6b8d3aa75d86329692a # Parent d46311cef5906931a1ca3abd34b026a0b52e72eb (re_max_failures): Reduce to 8000. diff -r d46311cef590 -r b8fe384dbeee src/regex.c --- a/src/regex.c Sun Jun 02 13:47:53 1996 +0000 +++ b/src/regex.c Sun Jun 02 21:33:01 1996 +0000 @@ -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