diff options
author | Michael Rash <mbr@cipherdyne.org> | 2006-08-22 00:45:22 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-08-22 14:33:58 -0700 |
commit | 3ffaa8c7c0f884171a273cd2145b8fbbf233ba22 (patch) | |
tree | 78529eb063987ea5f89980670c38c6cc7cba271b /lib/halfmd4.c | |
parent | 316c1592bea94ead75301cb764523661fbbcc1ca (diff) |
[TEXTSEARCH]: Fix Boyer Moore initialization bug
The pattern is set after trying to compute the prefix table, which tries
to use it. Initialize it before calling compute_prefix_tbl, make
compute_prefix_tbl consistently use only the data from struct ts_bm
and remove the now unnecessary arguments.
Signed-off-by: Michael Rash <mbr@cipherdyne.org>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/halfmd4.c')
0 files changed, 0 insertions, 0 deletions