summaryrefslogtreecommitdiffstats
path: root/arch/m68k/lib
diff options
context:
space:
mode:
authorDu, Changbin <changbin.du@gmail.com>2014-01-24 00:54:12 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-24 01:36:55 +0100
commitaace05097a0fd467230e39acb148be0fdaa90068 (patch)
treeca2e61621bcb24ad83f3f145987c8ffd5c28c65b /arch/m68k/lib
parentuapi: convert u64 to __u64 in exported headers (diff)
downloadlinux-aace05097a0fd467230e39acb148be0fdaa90068.tar.xz
linux-aace05097a0fd467230e39acb148be0fdaa90068.zip
lib/parser.c: add match_wildcard() function
match_wildcard function is a simple implementation of wildcard matching algorithm. It only supports two usual wildcardes: '*' - matches zero or more characters '?' - matches one character This algorithm is safe since it is non-recursive. Signed-off-by: Du, Changbin <changbin.du@gmail.com> Cc: Jason Baron <jbaron@akamai.com> Cc: Joe Perches <joe@perches.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68k/lib')
0 files changed, 0 insertions, 0 deletions