[SCM] Samba Shared Repository - branch master updated -
0e723d8f7d918d2d1a1e9e26d976f016d5d97c94
Jeremy Allison
jra at samba.org
Thu Dec 4 23:36:08 GMT 2008
The branch, master has been updated
via 0e723d8f7d918d2d1a1e9e26d976f016d5d97c94 (commit)
from 09b4a9513cf0be52dcd43660ae384b8f7c398287 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 0e723d8f7d918d2d1a1e9e26d976f016d5d97c94
Author: Jeremy Allison <jra at samba.org>
Date: Thu Dec 4 15:35:32 2008 -0800
Fix bug #5937 - filenames with "*" char hide other files
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/trans2.c | 10 ++++------
1 files changed, 4 insertions(+), 6 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c
index f41210b..606e656 100644
--- a/source3/smbd/trans2.c
+++ b/source3/smbd/trans2.c
@@ -1095,15 +1095,13 @@ static bool exact_match(connection_struct *conn,
{
if (mask[0] == '.' && mask[1] == 0)
return False;
- if (conn->case_sensitive)
- return strcmp(str,mask)==0;
- if (StrCaseCmp(str,mask) != 0) {
- return False;
- }
if (dptr_has_wild(conn->dirptr)) {
return False;
}
- return True;
+ if (conn->case_sensitive)
+ return strcmp(str,mask)==0;
+ else
+ return StrCaseCmp(str,mask) == 0;
}
/****************************************************************************
--
Samba Shared Repository
More information about the samba-cvs
mailing list