xinfinity.dev/distro/kernel/atom?h=linux-4.4.y
2014-01-24T00:36:55Zlib/parser.c: add match_wildcard() function2014-01-24T00:36:55ZDu, Changbinchangbin.du@gmail.com2014-01-23T23:54:12Zurn:sha1:aace05097a0fd467230e39acb148be0fdaa90068
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>