From d9b8eaabc5e1d549aa56ed45f2e410ad766075be Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 5 Oct 2004 03:26:02 +0000 Subject: r2824: restored the is_case_sensitive option to ms_fnmatch() in Samba3. It is very rarely used, but we sohuldn't be removing a feature in a minor release of this kind. (This used to be commit 4ce0505bc369243aa77013519ce4e4f6e50f5a48) --- source3/lib/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/util.c') diff --git a/source3/lib/util.c b/source3/lib/util.c index 53ce8ab17b..5e88bd896f 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -2325,7 +2325,7 @@ BOOL mask_match(const char *string, char *pattern, BOOL is_case_sensitive) if (strcmp(pattern,".") == 0) return False; - return ms_fnmatch(pattern, string, Protocol) == 0; + return ms_fnmatch(pattern, string, Protocol, is_case_sensitive) == 0; } /******************************************************************* -- cgit