mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: REG_STARTEND (regex)
Date: Thu, 12 Jun 2014 23:00:35 -0400	[thread overview]
Message-ID: <20140613030035.GA179@brightrain.aerifal.cx> (raw)
In-Reply-To: <539A50AE.3090102@sbcglobal.net>

On Thu, Jun 12, 2014 at 09:15:26PM -0400, bfdamkoehler wrote:
> On 06/11/2014 09:40 PM, Rich Felker wrote:
> >I think the issue is just that you don't have a complete POSIX TZ rule
> >for EST5EDT written. With TZ=EST5EDT,M3.2.0/2,M11.1.0/2 (corresponding
> >to the current rules in effect for this timezone) I get the expected
> >output. Without specifying the full rule like this, I don't think you
> >can expect the right behavior since it changes every few years.
> >However, I think musl is also wrong not to have some sort of
> >meaningful default. I'll look into it more.
> I get the correct results using your TZ environment variable.
> 
> Actually, when I first tested with musl I didn't have a TZ
> environment variable and the time was off by 4 hours. Setting it
> seemed to fix the issue at first.
> 
> My linux machine has the timezone was set by the redhat/centos
> system-config-date to New York (I changed it to Detroit since then)
> and the "system uses UTC is not checked". This is a binary file but
> it ends in EST5EDT,M3.2.0,M11.1.0.
> 
> Should musl be using /etc/localtime if TZ is not defined?

See commit f616294914e7c289791d856dca636bbccad5fef7.

Rich


      reply	other threads:[~2014-06-13  3:00 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-15 10:34 Daniel Cegiełka
2013-01-15 13:42 ` Rich Felker
2013-01-15 15:16   ` Daniel Cegiełka
2013-01-15 15:37     ` John Spencer
2013-01-15 15:50       ` Daniel Cegiełka
2013-01-15 16:13         ` Rob Landley
2013-01-15 18:38         ` John Spencer
2013-01-16 15:41           ` Rob Landley
2013-01-15 16:11     ` Rob Landley
2013-01-15 18:45     ` Rich Felker
2013-01-15 18:55       ` Daniel Cegiełka
2013-01-16 15:42       ` Rob Landley
2013-01-16 16:57         ` Rich Felker
2014-06-11 14:24     ` Justin Cormack
2014-06-12  1:00       ` bfdamkoehler
2014-06-12  1:40         ` Rich Felker
2014-06-13  1:15           ` bfdamkoehler
2014-06-13  3:00             ` Rich Felker [this message]

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=20140613030035.GA179@brightrain.aerifal.cx \
    --to=dalias@libc.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).