The Samba-Bugzilla – Attachment 4523 Details for
Bug 6593
trans2 call info level SMB_INFO_STANDARD must be removed.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Correct patch for 3.4.1.
0001-Correctly-implement-SMB_INFO_STANDARD-setfileinfo.patch (text/x-diff), 1.05 KB, created by
Jeremy Allison
on 2009-08-06 15:24:39 UTC
(
hide
)
Description:
Correct patch for 3.4.1.
Filename:
MIME Type:
Creator:
Jeremy Allison
Created:
2009-08-06 15:24:39 UTC
Size:
1.05 KB
patch
obsolete
>From 0eaefc389f913adfe0403b3f775c7b02c86c3fdb Mon Sep 17 00:00:00 2001 >From: Jeremy Allison <jra@samba.org> >Date: Thu, 6 Aug 2009 13:11:20 -0700 >Subject: [PATCH] Correctly implement SMB_INFO_STANDARD setfileinfo. > Jeremy. > >--- > source3/smbd/trans2.c | 6 +++--- > 1 files changed, 3 insertions(+), 3 deletions(-) > >diff --git a/source3/smbd/trans2.c b/source3/smbd/trans2.c >index cae13df..7173796 100644 >--- a/source3/smbd/trans2.c >+++ b/source3/smbd/trans2.c >@@ -5702,13 +5702,13 @@ static NTSTATUS smb_set_info_standard(connection_struct *conn, > } > > /* create time */ >- ft.create_time = interpret_long_date(pdata); >+ ft.create_time = convert_time_t_to_timespec(srv_make_unix_date2(pdata)); > > /* access time */ >- ft.atime = interpret_long_date(pdata + 8); >+ ft.atime = convert_time_t_to_timespec(srv_make_unix_date2(pdata+4)); > > /* write time */ >- ft.mtime = interpret_long_date(pdata + 16); >+ ft.mtime = convert_time_t_to_timespec(srv_make_unix_date2(pdata+8)); > > DEBUG(10,("smb_set_info_standard: file %s\n", > fname ? fname : fsp->fsp_name )); >-- >1.5.4.3 >
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
Flags:
vl
:
review+
Actions:
View
Attachments on
bug 6593
:
4491
| 4523