From: Joonwoo Park Date: Mon, 30 Jun 2008 19:42:23 +0000 (-0700) Subject: textsearch: fix Boyer-Moore text search bug X-Git-Tag: v2.6.26-rc9~84^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aebb6a849cfe7d89bcacaaecc20a480dfc1180e7;p=pandora-kernel.git 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 Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- Reading git-diff-tree failed