diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/search.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/search.c b/src/search.c index d91110f4b0e..aca95c03308 100644 --- a/src/search.c +++ b/src/search.c | |||
| @@ -1697,12 +1697,8 @@ boyer_moore (n, base_pat, len, len_byte, trt, inverse_trt, | |||
| 1697 | int translate_prev_byte2 = 0; | 1697 | int translate_prev_byte2 = 0; |
| 1698 | int translate_prev_byte3 = 0; | 1698 | int translate_prev_byte3 = 0; |
| 1699 | 1699 | ||
| 1700 | #ifdef C_ALLOCA | ||
| 1701 | int BM_tab_space[0400]; | ||
| 1702 | BM_tab = &BM_tab_space[0]; | ||
| 1703 | #else | ||
| 1704 | BM_tab = (int *) alloca (0400 * sizeof (int)); | 1700 | BM_tab = (int *) alloca (0400 * sizeof (int)); |
| 1705 | #endif | 1701 | |
| 1706 | /* The general approach is that we are going to maintain that we know */ | 1702 | /* The general approach is that we are going to maintain that we know */ |
| 1707 | /* the first (closest to the present position, in whatever direction */ | 1703 | /* the first (closest to the present position, in whatever direction */ |
| 1708 | /* we're searching) character that could possibly be the last */ | 1704 | /* we're searching) character that could possibly be the last */ |