changeset 15316:b8fe384dbeee

(re_max_failures): Reduce to 8000.
author Richard M. Stallman <rms@gnu.org>
date Sun, 02 Jun 1996 21:33:01 +0000
parents d46311cef590
children b52f48264690
files src/regex.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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