[SCM] Samba Shared Repository - branch v3-4-test updated - release-4-0-0alpha7-1208-gc704e22
Karolin Seeger
kseeger at samba.org
Wed Aug 12 08:29:19 MDT 2009
The branch, v3-4-test has been updated
via c704e22806198a620d7e058c8d69c144ce096837 (commit)
from 80cedd944c3bcee7fe44787c9730b564b2d86726 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-4-test
- Log -----------------------------------------------------------------
commit c704e22806198a620d7e058c8d69c144ce096837
Author: Jeremy Allison <jra at samba.org>
Date: Thu Aug 6 13:11:20 2009 -0700
Correctly implement SMB_INFO_STANDARD setfileinfo.
Fixes bug #6593.
Jeremy.
-----------------------------------------------------------------------
Summary of changes:
source3/smbd/trans2.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Changeset truncated at 500 lines:
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 ));
--
Samba Shared Repository
More information about the samba-cvs
mailing list