mailing list of musl libc
 help / color / mirror / code / Atom feed
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 09:40:57 +0000	[thread overview]
Message-ID: <528DD529.4030408@skarnet.org> (raw)
In-Reply-To: <20131121013056.GA2128@brightrain.aerifal.cx>

  Hi Rich,

  I think there is a localtime bug related to
  http://www.openwall.com/lists/musl/2012/10/26/11
but I've been unable to expose it in a reproducible way, and I
haven't had time to investigate more.
  But *once*, I got the following results :

$ TZ=CEST ./localtime-musl ; TZ=CEST ./localtime-glibc
Local:  06:13:34
Global: 06:13:34 TUU
Local:  06:13:34
Global: 06:13:34

$ TZ=:right/Europe/Paris ./localtime-musl ; TZ=:right/Europe/Paris ./localtime-glibc
Local:  08:14:10
Global: 06:14:10 TUU
Local:  08:13:45
Global: 06:13:45

  1. That "TUU" looks like some random string is added after the time format, there
seems to be a string length error.
  2. There's a 35 second discrepancy between the glibc and musl results in the
right/ case, which seems to indicate that musl prints UTC when it should print
TAI-10. (This is reproducible.) Does musl support the A. D. Olson "right/" timezones ?

  Thanks,

-- 
  Laurent


  reply	other threads:[~2013-11-21  9:40 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 [this message]
2013-11-21 16:39   ` Rich Felker
2013-11-21 16:55     ` Szabolcs Nagy
2013-11-21 19:27     ` Laurent Bercot
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=528DD529.4030408@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).