changeset 84494:e6938db78161

(boyer_moore): Remove #ifdef C_ALLOCA block.
author Glenn Morris <rgm@gnu.org>
date Wed, 12 Sep 2007 07:22:20 +0000
parents 70ea273ac237
children d72878ffabae
files src/search.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Wed Sep 12 07:21:32 2007 +0000
+++ b/src/search.c	Wed Sep 12 07:22:20 2007 +0000
@@ -1697,12 +1697,8 @@
   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 */