diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regex.c | 4 |
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) |
| 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 |