From: Laurent Bercot <ska-dietlibc@skarnet.org>
To: musl@lists.openwall.com
Subject: Re: Pending patches/issues before 0.9.15 release?
Date: Thu, 21 Nov 2013 19:27:53 +0000 [thread overview]
Message-ID: <528E5EB9.1080400@skarnet.org> (raw)
In-Reply-To: <20131121163911.GP24286@brightrain.aerifal.cx>
> Perhaps strftime is failing to null-terminate under some conditions.
> Did you try pre-filling the buffer with junk to see if it makes the
> bug reproducable?
I didn't investigate or experiment more, but I will as soon as I get
some time - maybe this week-end.
> I'm not familiar with the "right/" timezones and they're difficult to
> google for -- please give me a reference for what they are, if you
> can. However, musl only uses zoneinfo for timezone/daylight-time
> purposes, not for any sort of adjustment between POSIX/calendar time
> and UTC(w/leap-seconds) and/or TAI. Perhaps this is the source of the
> discrepency.
The short version of what right/ timezones are is explained here:
http://www.madore.org/~david/computers/unix-leap-seconds.html#tai-minus-10
The difference between glibc and musl is 25 seconds, not 35 as I wrote,
which seems to indicate that musl's gmtime()/localtime() does not take leap
second tables, which are defined in right/ timezones, into account.
I would really love that to be fixed - maybe not for 0.9.15, but for 0.9.16
if possible, because I'm a hardcore TAI-10 user.
--
Laurent
next prev parent reply other threads:[~2013-11-21 19:27 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-21 1:30 Rich Felker
2013-11-21 9:40 ` Laurent Bercot
2013-11-21 16:39 ` Rich Felker
2013-11-21 16:55 ` Szabolcs Nagy
2013-11-21 19:27 ` Laurent Bercot [this message]
2013-11-21 19:44 ` Rich Felker
2013-11-21 20:07 ` Daniel Cegiełka
2013-11-21 20:34 ` Rich Felker
2013-11-21 22:54 ` Laurent Bercot
2013-11-24 11:06 ` zoneinfo file parsing in __tz.c Laurent Bercot
2013-11-24 12:22 ` Szabolcs Nagy
2013-11-21 22:54 ` Pending patches/issues before 0.9.15 release? Szabolcs Nagy
2013-11-21 23:04 ` Laurent Bercot
2013-11-22 0:18 ` Szabolcs Nagy
2013-11-21 23:05 ` Rich Felker
2013-11-21 19:21 ` John Spencer
2013-11-23 22:02 ` Rich Felker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=528E5EB9.1080400@skarnet.org \
--to=ska-dietlibc@skarnet.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).