Patches for dealing a bit more cleanly with NTTIME
mat+Informatique.Samba at matws.net
Sun May 2 05:31:11 MDT 2010
Any news on this patch ? it seems that it's not in master.
On 20/04/2010 11:25, Matthias Dieter Wallnöfer wrote:
> Hi Jelmer,
> this is the thread where ekacnet posted his NTTIME patch (I think you
> haven't noticed it).
> Matthieu Patou wrote:
>> Hi jelmer,
>> Find attach the new version without any cast + assignement in SamDB.
>> On 15/04/2010 00:47, Jelmer Vernooij wrote:
>>> Hi Matthieu,
>>> On Thu, 2010-04-15 at 00:37 +0400, Matthieu Patou wrote:
>>>> Hello jelmer,
>>>> This patch is for dealing correctly with NTTIME (64bits) + allowing to
>>>> print a NTTIME object in a string.
>>> You're using PyInt_FromLong((uint64_t)t). That seems wrong because
>>> sizeof(uint64_t)> sizeof(long) and t is a time_t. Perhaps you just
>>> don't want to cast at all?
More information about the samba-technical