code duplication in ccan (was: Re: snprintf on SunOS)

Jeremy Allison jra at samba.org
Thu Jun 14 21:53:12 MDT 2012


On Fri, Jun 15, 2012 at 11:40:13AM +0930, Rusty Russell wrote:
> 
> I think ccan/time could use improvement, too.  Mainly, it would be nice
> just to use timespec everywhere, even on systems where we don't get ns
> accuracy.  Frobbing between different time formats is a recipe for
> confusion.  I think Samba would be neater for such a change.  What do
> you think?

Massive +1 from me. I've debugged enough time-conversion screw-ups
I'd love not to have to do that again :-).

Jeremy.


More information about the samba-technical mailing list