diff options
| author | Richard M. Stallman | 1996-06-02 21:33:01 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-06-02 21:33:01 +0000 |
| commit | 264d34bf38d6a7f008aa95808319ba2bcd117ebe (patch) | |
| tree | b5be2d609d0926a257b904c33bb4b83d5c93c703 /src | |
| parent | ec46c6e81e0b7da4bc8a03ade76c13951efb7174 (diff) | |
| download | emacs-264d34bf38d6a7f008aa95808319ba2bcd117ebe.tar.gz emacs-264d34bf38d6a7f008aa95808319ba2bcd117ebe.zip | |
(re_max_failures): Reduce to 8000.
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 |