diff options
Diffstat (limited to 'source3/utils/masktest.c')
-rw-r--r-- | source3/utils/masktest.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/utils/masktest.c b/source3/utils/masktest.c index 45c113f112..d8afbddf98 100644 --- a/source3/utils/masktest.c +++ b/source3/utils/masktest.c @@ -39,6 +39,9 @@ static BOOL reg_match_one(char *pattern, char *file) if (strcmp(file,"..") == 0) file = "."; if (strcmp(pattern,".") == 0) return False; + /* oh what a weird world this is */ + if (old_list && strcmp(pattern, "*.*") == 0) return True; + return ms_fnmatch(pattern, file)==0; } |