summaryrefslogtreecommitdiffstats
path: root/source/lib/util.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-10 20:52:43 +0000
committerJeremy Allison <jra@samba.org>2001-03-10 20:52:43 +0000
commite5df481e5ac2ace27ea917f975092d7c3e53823d (patch)
tree71ac6370741ba29128bf2f680906bed176dc06ac /source/lib/util.c
parent5a9cffcf4b62ef88fc15688f780d296adb4fb818 (diff)
downloadsamba-e5df481e5ac2ace27ea917f975092d7c3e53823d.tar.gz
samba-e5df481e5ac2ace27ea917f975092d7c3e53823d.tar.xz
samba-e5df481e5ac2ace27ea917f975092d7c3e53823d.zip
Removed incorrect substitution in dir code - move to DOS fnmatch.
Jeremy.
Diffstat (limited to 'source/lib/util.c')
-rw-r--r--source/lib/util.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/lib/util.c b/source/lib/util.c
index b1214bacb68..5aae78aa152 100644
--- a/source/lib/util.c
+++ b/source/lib/util.c
@@ -1821,6 +1821,9 @@ int dos_fnmatch(char *string, char *pattern)
if (strcmp(pattern, "*.*"))
return 1;
+ if (strequal(mask, "????????.???"))
+ pstrcpy(mask, "*");
+
return ms_fnmatch(string, pattern);
}