|
Message-ID: <20121026081507.GF24157@port70.net> Date: Fri, 26 Oct 2012 10:15:07 +0200 From: Szabolcs Nagy <nsz@...t70.net> To: musl@...ts.openwall.com Subject: Re: localtime() isn't local * Yoran Heling <info@...hel.nl> [2012-10-26 09:57:37 +0200]: > $ musl-gcc localtime.c -o localtime-musl > $ gcc localtime.c -o localtime-glibc > $ ./localtime-musl > Local: 07:53:47 > Global: 07:53:47 > $ ./localtime-glibc > Local: 09:53:50 > Global: 07:53:50 > $ date > Fri Oct 26 09:53:51 CEST 2012 > what is the TZ environment variable? that's the only method localtime (and tzset) should support in posix to determine the timezone you may want to try TZ=CEST ./localtime-musl
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.