From 0f374b2b6c496ae9044e94a722f4c9349436f3c0 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 26 Jun 1996 18:00:52 +0000 Subject: [PATCH] (re_max_failures): Reduce to 4000. --- src/regex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/regex.c b/src/regex.c index 48ff0e4a492..c41aa1f2b48 100644 --- a/src/regex.c +++ b/src/regex.c @@ -1008,9 +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) -/* 8600 was enough to cause a crash on Ultrix, +/* 4400 was enough to cause a crash on Alpha OSF/1, whose default stack limit is 2mb. */ -int re_max_failures = 8000; +int re_max_failures = 4000; #else int re_max_failures = 2000; #endif -- 2.39.2