The Samba-Bugzilla – Attachment 3780 Details for
Bug 5937
filenames with "*" char hide other files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for all branches.
look (text/plain), 647 bytes, created by
Jeremy Allison
on 2008-12-04 17:37:25 UTC
(
hide
)
Description:
Patch for all branches.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2008-12-04 17:37:25 UTC
Size:
647 bytes
patch
obsolete
>diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c >index cb7cad1..a5b1a59 100644 >--- a/source/smbd/trans2.c >+++ b/source/smbd/trans2.c >@@ -1080,15 +1080,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; > } > > /****************************************************************************
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5937
: 3780