diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-05-04 20:57:12 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-05-06 07:51:24 +0200 |
commit | 8f1810362df7ef9e5c394a9cba83cf0e7c04bd9e (patch) | |
tree | edad1e8a1837263e2eb760d22062612e44220ce4 /source3/lib | |
parent | 3892112e7b3143f808932771a7b71f4fd335f8cb (diff) | |
download | samba-8f1810362df7ef9e5c394a9cba83cf0e7c04bd9e.tar.gz samba-8f1810362df7ef9e5c394a9cba83cf0e7c04bd9e.tar.bz2 samba-8f1810362df7ef9e5c394a9cba83cf0e7c04bd9e.zip |
lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch()
gen_fnmatch was a duplicate symbol in the top level build.
gen_fnmatch() used for simple non-CIFS pattern matching, so selecting
the lib/util implementation should not be a concern.
Andrew Bartlett
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/ms_fnmatch.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source3/lib/ms_fnmatch.c b/source3/lib/ms_fnmatch.c index 31c66953a9..272355b7d2 100644 --- a/source3/lib/ms_fnmatch.c +++ b/source3/lib/ms_fnmatch.c @@ -229,10 +229,3 @@ int ms_fnmatch(const char *pattern, const char *string, bool translate_pattern, TALLOC_FREE(s); return ret; } - - -/* a generic fnmatch function - uses for non-CIFS pattern matching */ -int gen_fnmatch(const char *pattern, const char *string) -{ - return ms_fnmatch(pattern, string, true, False); -} |