Re: Seeking clarifaction of tai64nlocal and leap seconds

Mark Johnson <[email protected]> Wed, 19 Sep 2012 14:40:54 -0500
Newsgroups gmane.comp.djb.syslog
Message-ID <CAHRPLFOmEztZa-XmXk7AmhkS8NWZG14GKv0Cawhy4JfWczpw4g@mail.gmail.com>
--047d7b07238253871104ca132fa1
Content-Type: text/plain; charset=ISO-8859-1

On Tue, Sep 18, 2012 at 5:08 PM, Brian Reichert <[email protected]>wrote:

> And to my naive eye, it looks like multilog doesn't use libtai, and
> a such, I wonder how (if at all) it has a sense of leap seconds
> when it generates timestamps.
>

From what I remember, various bits 'o djbware have subsets of the code that
makes up libtai.  Check the Makefile, you'll see that multilog gets linked
to time.a, which uses a bunch of source files similar/identical to some
that go into libtai.

You don't need leap seconds unless you're going to/from calendar dates,
right?

--047d7b07238253871104ca132fa1
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Tue, Sep 18, 2012 at 5:08 PM, Brian Reichert <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:[email protected]" target=3D"_blank">[email protected]</=
a>&gt;</span> wrote:<br><div class=3D"gmail_quote"><blockquote class=3D"gma=
il_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-lef=
t:1ex">

And to my naive eye, it looks like multilog doesn&#39;t use libtai, and<br>
a such, I wonder how (if at all) it has a sense of leap seconds<br>
when it generates timestamps.<br></blockquote><div><br>From what I remember=
, various bits &#39;o djbware have subsets of the code that makes up libtai=
.=A0 Check the Makefile, you&#39;ll see that multilog gets linked to time.a=
, which uses a bunch of source files similar/identical to some that go into=
 libtai.=A0 <br>
<br>You don&#39;t need leap seconds unless you&#39;re going to/from calenda=
r dates, right? <br></div></div>

--047d7b07238253871104ca132fa1--