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 15:56:36 -0500
From: Josiah Worcester <josiahw@...il.com>
To: musl@...ts.openwall.com
Subject: Re: ctime, timezone?

On Thu, May 1, 2014 at 3:37 PM, John Mudd <johnbmudd@...il.com> wrote:

> Am I doing something wrong? I expected roughly the same time when running
> the musl version.
>
> $ gcc  test_ctime.c   -o test_ctime
> $ test_ctime
> Thu May  1 16:33:16 2014
> $
>
>
> $ musl-gcc -fno-stack-protector    test_ctime.c   -o test_ctime
> $ test_ctime
> Thu May  1 20:33:46 2014
> $
>

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?

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.