Do recursive call to rk_fnmatch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20637 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -99,7 +99,7 @@ rk_fnmatch(const char *pattern, const char *string, int flags)
|
||||
|
||||
/* General case, use recursion. */
|
||||
while ((test = *string) != EOS) {
|
||||
if (!fnmatch(pattern, string, flags & ~FNM_PERIOD))
|
||||
if (!rk_fnmatch(pattern, string, flags & ~FNM_PERIOD))
|
||||
return (0);
|
||||
if (test == '/' && flags & FNM_PATHNAME)
|
||||
break;
|
||||
|
Reference in New Issue
Block a user