aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex.c
diff options
context:
space:
mode:
authorRichard M. Stallman1996-06-02 21:33:01 +0000
committerRichard M. Stallman1996-06-02 21:33:01 +0000
commit264d34bf38d6a7f008aa95808319ba2bcd117ebe (patch)
treeb5be2d609d0926a257b904c33bb4b83d5c93c703 /src/regex.c
parentec46c6e81e0b7da4bc8a03ade76c13951efb7174 (diff)
downloademacs-264d34bf38d6a7f008aa95808319ba2bcd117ebe.tar.gz
emacs-264d34bf38d6a7f008aa95808319ba2bcd117ebe.zip
(re_max_failures): Reduce to 8000.
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c4
1 files changed, 3 insertions, 1 deletions
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[] =
1008 This is a variable only so users of regex can assign to it; we never 1008 This is a variable only so users of regex can assign to it; we never
1009 change it ourselves. */ 1009 change it ourselves. */
1010#if defined (MATCH_MAY_ALLOCATE) 1010#if defined (MATCH_MAY_ALLOCATE)
1011int re_max_failures = 20000; 1011/* 8600 was enough to cause a crash on Ultrix,
1012 whose default stack limit is 2mb. */
1013int re_max_failures = 8000;
1012#else 1014#else
1013int re_max_failures = 2000; 1015int re_max_failures = 2000;
1014#endif 1016#endif