From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6279 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: Error in interpreting posix timezone TZ environment variable by musl-libc Date: Wed, 8 Oct 2014 23:29:24 -0400 Message-ID: <20141009032923.GU23797@brightrain.aerifal.cx> References: <20141008194429.GG17442@localhost> <20141008205918.GS23797@brightrain.aerifal.cx> <20141008211102.GT23797@brightrain.aerifal.cx> <20141009032338.GA2354@localhost> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1412825387 21315 80.91.229.3 (9 Oct 2014 03:29:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Oct 2014 03:29:47 +0000 (UTC) Cc: musl@lists.openwall.com To: vlse Original-X-From: musl-return-6292-gllmg-musl=m.gmane.org@lists.openwall.com Thu Oct 09 05:29:42 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Xc4Q9-00058U-SP for gllmg-musl@plane.gmane.org; Thu, 09 Oct 2014 05:29:42 +0200 Original-Received: (qmail 19832 invoked by uid 550); 9 Oct 2014 03:29:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19824 invoked from network); 9 Oct 2014 03:29:41 -0000 Content-Disposition: inline In-Reply-To: <20141009032338.GA2354@localhost> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:6279 Archived-At: On Thu, Oct 09, 2014 at 08:53:38AM +0530, vlse wrote: > Well, patch didn't apply cleanly to musl-1.0.3, but I patched it > manually and compiled. It's fixed. Now musl correctly interprets > posix TZ environment variables like TZ="IST-5:30". Thanks for the report. I'll commit the changes. > Also to note > error occurs only when asctime program is staticly compiled not when > compiled with shared musl library I suspect you might have something wrong with your toolchain that's causing dynamic linking to use the wrong libc. There's no reason the dynamic libc.so should have been unaffected, so I think you might have been using glibc or something else for dynamic linking... Rich