diff options
| author | Glenn Morris | 2007-09-12 07:22:20 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-12 07:22:20 +0000 |
| commit | e2a51aa86eb3857486a8808415373c36d1bcc1b9 (patch) | |
| tree | a1b7284851a24cc780e7447bb3e9963ac390f6ab /src | |
| parent | b588157e3bfb9e42954f9fa2ac7ea1c6ae722f6b (diff) | |
| download | emacs-e2a51aa86eb3857486a8808415373c36d1bcc1b9.tar.gz emacs-e2a51aa86eb3857486a8808415373c36d1bcc1b9.zip | |
(boyer_moore): Remove #ifdef C_ALLOCA block.
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 */ |