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:
Love Hörnquist Åstrand
2007-05-10 17:13:34 +00:00
parent 83d42d8b1d
commit 71e0f0157d

View File

@@ -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;