(TYPICAL_FAILURE_SIZE): Renamed from MAX_FAILURE_ITEMS.
authorKarl Heuer <kwzh@gnu.org>
Tue, 9 Dec 1997 23:01:27 +0000 (23:01 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 9 Dec 1997 23:01:27 +0000 (23:01 +0000)
commit320a2a7349b5a682b22ab68f1d8dfcedbae17b88
tree07487e7d1cf12ccb9625f0ced009dacaac530b37
parentdb54baaa69641fe652ab660748428fca4c7e8346
(TYPICAL_FAILURE_SIZE): Renamed from MAX_FAILURE_ITEMS.
Define it simply as a number.
(DOUBLE_FAIL_STACK, regex_compile): Set the limit at the size
TYPICAL_FAILURE_SIZE specifies, rather than at twice that much.
(re_max_failures): Double the initial values.
(INIT_FAIL_STACK): Use TYPICAL_FAILURE_SIZE so that INIT_FAILURE_ALLOC
counts in the proper units.
(INIT_FAILURE_ALLOC): Increase to 20.
(FAIL_STACK_GROWTH_FACTOR): New macro.
(GROW_FAIL_STACK): Renamed from DOUBLE_FAIL_STACK.
FAIL_STACK_GROWTH_FACTOR controls what ratio to increase size by.
src/regex.c