Patches for dealing a bit more cleanly with NTTIME
Matthias Dieter Wallnöfer
mdw at samba.org
Tue Apr 20 01:25:31 MDT 2010
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