From 71e0f0157dcb5f4bcee03d9e0ea21dccd6327479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Thu, 10 May 2007 17:13:34 +0000 Subject: [PATCH] Do recursive call to rk_fnmatch git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20637 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/roken/fnmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/roken/fnmatch.c b/lib/roken/fnmatch.c index 70defc049..126949a8e 100644 --- a/lib/roken/fnmatch.c +++ b/lib/roken/fnmatch.c @@ -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;