diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-08 10:27:03 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-08 10:27:03 +0100 |
commit | 4861aef29f84a051b4592b1616e40f010b612420 (patch) | |
tree | c5de45a29105455242ee089399d2bba61016dd23 | |
parent | 29df57a5aadc208514f82875ef489e42cffad471 (diff) | |
download | samba-4861aef29f84a051b4592b1616e40f010b612420.tar.gz |
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.
-rw-r--r-- | source/smbd/trans2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/smbd/trans2.c b/source/smbd/trans2.c index 623117bdcb7..a60f306c7b1 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 */ |