summaryrefslogtreecommitdiffstats
path: root/source/smbd/dir.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-04-30 11:04:28 +0000
committerAndrew Tridgell <tridge@samba.org>2000-04-30 11:04:28 +0000
commit03e9cea004bbba72161a5323cf3b4556c94aed8e (patch)
tree041a2cb50d2285eaf58b6f95efdf75fb0d186b04 /source/smbd/dir.c
parentcc9e007cdfdd300189f89e2a55e4234e47fa842d (diff)
downloadsamba-03e9cea004bbba72161a5323cf3b4556c94aed8e.tar.gz
samba-03e9cea004bbba72161a5323cf3b4556c94aed8e.tar.xz
samba-03e9cea004bbba72161a5323cf3b4556c94aed8e.zip
- removed all our old wildcard matching code and replaced it with a
call to ms_fnmatch(). This also removes all the Win9X semantics stuff and a bunch of other associated cruft. - moved the stat cache code into statcache.c - fixed the uint16 alignment requirements of ascii_to_unistr() and unistr_to_ascii() - trans2 SMB_FIND_FILE_BOTH_DIRECTORY_INFO returns the short name as unicode always (at least thats what NT4 does) - fixed some errors in the in-memory tdb code. Still ugly, but doesn't crash as much
Diffstat (limited to 'source/smbd/dir.c')
-rw-r--r--source/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/dir.c b/source/smbd/dir.c
index 55d5bf132cf..bd4e2a44f9c 100644
--- a/source/smbd/dir.c
+++ b/source/smbd/dir.c
@@ -604,7 +604,7 @@ BOOL get_dir_entry(connection_struct *conn,char *mask,int dirtype,char *fname,
if ((filename_is_mask = (strcmp(filename,mask) == 0)) ||
(name_map_mangle(filename,True,False,SNUM(conn)) &&
- mask_match(filename,mask,False,False)))
+ mask_match(filename,mask,False)))
{
if (isrootdir && (strequal(filename,"..") || strequal(filename,".")))
continue;