Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 1 May 2014 16:57:32 -0500
From: Josiah Worcester <>
Subject: Re: ctime, timezone?

On Thu, May 1, 2014 at 3:56 PM, Josiah Worcester <> wrote:

> It looks as though glibc and musl have different ideas of what the
> timezone is. Could you print out the contents of the $TZ variable, and if
> /etc/localtime is a symlink, could you tell us where that points to?
Ah. Quick look at the musl source makes it clear what's going on. musl does
not look at /etc/localtime for the time zone. If TZ is unset it defaults to
UTC. Try export TZ=your-zoneinfo-timezone.

(relatedly, it is possibly desirable to have the timezone code examine

Content of type "text/html" skipped

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.