Date: Thu, 1 May 2014 17:18:32 -0500 From: Josiah Worcester <josiahw@...il.com> To: musl@...ts.openwall.com Subject: Re: Re: ctime, timezone? On Thu, May 1, 2014 at 5:00 PM, John Mudd <johnbmudd@...il.com> wrote: > Hmm, I'd like to install my app at 4,000 locations around the country. Can > I avoid explicitly setting $TZ? > > With unpatched musl, not really. In the do_tzset function in __tz.c, I think changing the "if (!s || !*s) s = __gmt;" to simply "if (!s || !*s) s = "/etc/localtime";" should do it, though I wouldn't say for sure without testing. If you simply don't want to have to deal with manually setting TZ to match the /etc/localtime definition everywhere, TZ=/etc/localtime should suffice. 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.