Mercurial > emacs
comparison src/regex.c @ 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 | c2b4f8533c55 |
children | f8e362279cbb |
comparison
equal
deleted
inserted
replaced
15315:d46311cef590 | 15316:b8fe384dbeee |
---|---|
1006 /* Roughly the maximum number of failure points on the stack. Would be | 1006 /* Roughly the maximum number of failure points on the stack. Would be |
1007 exactly that if always used MAX_FAILURE_ITEMS items each time we failed. | 1007 exactly that if always used MAX_FAILURE_ITEMS items each time we failed. |
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) |
1011 int re_max_failures = 20000; | 1011 /* 8600 was enough to cause a crash on Ultrix, |
1012 whose default stack limit is 2mb. */ | |
1013 int re_max_failures = 8000; | |
1012 #else | 1014 #else |
1013 int re_max_failures = 2000; | 1015 int re_max_failures = 2000; |
1014 #endif | 1016 #endif |
1015 | 1017 |
1016 union fail_stack_elt | 1018 union fail_stack_elt |