From: Richard M. Stallman Date: Sun, 2 Jun 1996 21:33:01 +0000 (+0000) Subject: (re_max_failures): Reduce to 8000. X-Git-Tag: emacs-19.34~546 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=264d34bf38d6a7f008aa95808319ba2bcd117ebe;p=emacs.git (re_max_failures): Reduce to 8000. --- diff --git a/src/regex.c b/src/regex.c index e4d4e13b425..48ff0e4a492 100644 --- a/src/regex.c +++ b/src/regex.c @@ -1008,7 +1008,9 @@ static const char *re_error_msgid[] = 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