NTSTATUS trick for NTTIME?

Volker Lendecke Volker.Lendecke at SerNet.DE
Sun Mar 13 00:59:51 MST 2011


On Sat, Mar 12, 2011 at 01:20:19PM -0500, simo wrote:
> Operations on time values are used to calculate offsets, or set timers
> and the like.
> Although we mostly do that on time_t values.
> 
> Perhaps we can have macros (with suitable internal casts) for the cases
> where we need to do some addition or subtractions on NTTIME values ...
> 
> Macros are probably going to be a good idea for that kind of operations
> on nt time values anyway.

Have you been able to compile Samba with cgcc from sparse?
Does not work for me. I looked at that for an hour, but I
could not figure out what went wrong. If someone has
successfully compiled it with sparse, I would like to know
about the settings used.

Volker


More information about the samba-technical mailing list