[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Tue Sep 18 17:17:01 MDT 2012


The branch, master has been updated
       via  f6e33eb s3: Use SBVAL in put_long_date_timespec
      from  2bbde78 s3: Fix some nonempty line endings

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f6e33eb890dbe4451d3b3ff52a2f38d3a5ceb8c8
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Sep 18 14:35:39 2012 -0700

    s3: Use SBVAL in put_long_date_timespec
    
    Autobuild-User(master): Volker Lendecke <vl at samba.org>
    Autobuild-Date(master): Wed Sep 19 01:16:25 CEST 2012 on sn-devel-104

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

Summary of changes:
 source3/lib/time.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/time.c b/source3/lib/time.c
index 00cf0f1..b4b9d19 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -173,8 +173,7 @@ void put_long_date_timespec(enum timestamp_set_resolution res, char *p, struct t
 	NTTIME nt;
 	round_timespec(res, &ts);
 	unix_timespec_to_nt_time(&nt, ts);
-	SIVAL(p, 0, nt & 0xFFFFFFFF);
-	SIVAL(p, 4, nt >> 32);
+	SBVAL(p, 0, nt);
 }
 
 void put_long_date(char *p, time_t t)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list