summaryrefslogtreecommitdiff
path: root/include/linux/dtlk.h
diff options
context:
space:
mode:
authorJoonwoo Park <joonwpark81@gmail.com>2008-06-30 23:42:23 +0400
committerDavid S. Miller <davem@davemloft.net>2008-06-30 23:42:23 +0400
commitaebb6a849cfe7d89bcacaaecc20a480dfc1180e7 (patch)
tree6a7cf5c6bdc80c75ec843d8ee44cd98039ca6fd7 /include/linux/dtlk.h
parent84ebe1cdae56707b9aa1b40ae5aa7d817ba745f5 (diff)
downloadlinux-aebb6a849cfe7d89bcacaaecc20a480dfc1180e7.tar.xz
textsearch: fix Boyer-Moore text search bug
The current logic has a bug which cannot find matching pattern, if the pattern is matched from the first character of target string. for example: pattern=abc, string=abcdefg pattern=a, string=abcdefg Searching algorithm should return 0 for those things. Signed-off-by: Joonwoo Park <joonwpark81@gmail.com> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dtlk.h')
0 files changed, 0 insertions, 0 deletions