summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-09-12 07:22:20 +0000
committerGlenn Morris <rgm@gnu.org>2007-09-12 07:22:20 +0000
commit1c21cdd7b2a7714327799632ed453f627c82f797 (patch)
tree57309ebb0ea7f2c356de59725378eeb554a53d81 /src/search.c
parent3ead38788c5805bb6e92467832522f97def747a9 (diff)
downloademacs-1c21cdd7b2a7714327799632ed453f627c82f797.tar.gz
(boyer_moore): Remove #ifdef C_ALLOCA block.
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c6
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,
int translate_prev_byte2 = 0;
int translate_prev_byte3 = 0;
-#ifdef C_ALLOCA
- int BM_tab_space[0400];
- BM_tab = &BM_tab_space[0];
-#else
BM_tab = (int *) alloca (0400 * sizeof (int));
-#endif
+
/* The general approach is that we are going to maintain that we know */
/* the first (closest to the present position, in whatever direction */
/* we're searching) character that could possibly be the last */