Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e2a51aa8
Commit
e2a51aa8
authored
Sep 12, 2007
by
Glenn Morris
Browse files
(boyer_moore): Remove #ifdef C_ALLOCA block.
parent
b588157e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
src/search.c
src/search.c
+1
-5
No files found.
src/search.c
View file @
e2a51aa8
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment