]> git.eshelyaron.com Git - emacs.git/commitdiff
(boyer_moore): Remove #ifdef C_ALLOCA block.
authorGlenn Morris <rgm@gnu.org>
Wed, 12 Sep 2007 07:22:20 +0000 (07:22 +0000)
committerGlenn Morris <rgm@gnu.org>
Wed, 12 Sep 2007 07:22:20 +0000 (07:22 +0000)
src/search.c

index d91110f4b0e5d0c38eaedcdf87b10b166c6959df..aca95c03308fc7dd0c959ab2908b05f30d6290cd 100644 (file)
@@ -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 */