[SCM] Samba Shared Repository - branch v3-0-test updated - release-3-0-28-146-g4861aef

Volker Lendecke vlendec at samba.org
Sat Mar 8 09:23:28 GMT 2008


The branch, v3-0-test has been updated
       via  4861aef29f84a051b4592b1616e40f010b612420 (commit)
      from  29df57a5aadc208514f82875ef489e42cffad471 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test


- Log -----------------------------------------------------------------
commit 4861aef29f84a051b4592b1616e40f010b612420
Author: Volker Lendecke <vl at samba.org>
Date:   Sat Mar 8 10:27:03 2008 +0100

    Work around a handle leak in XP 64 bit
    
    We have to tell XP64 that we store unicode, otherwise some library will to a
    findfirst before each createfile, leaking a directory handle each time.

-----------------------------------------------------------------------

Summary of changes:
 source/smbd/trans2.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c
index 623117b..a60f306 100644
--- a/source/smbd/trans2.c
+++ b/source/smbd/trans2.c
@@ -2365,6 +2365,7 @@ cBytesSector=%u, cUnitTotal=%u, cUnitAvail=%d\n", (unsigned int)st.st_dev, (unsi
 
 			SIVAL(pdata,0,FILE_CASE_PRESERVED_NAMES|FILE_CASE_SENSITIVE_SEARCH|
 				(lp_nt_acl_support(SNUM(conn)) ? FILE_PERSISTENT_ACLS : 0)|
+			        FILE_UNICODE_ON_DISK|
 				quota_flag); /* FS ATTRIBUTES */
 
 			SIVAL(pdata,4,255); /* Max filename component length */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list