From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/4261 Path: news.gmane.org!not-for-mail From: Laurent Bercot Newsgroups: gmane.linux.lib.musl.general Subject: Re: Pending patches/issues before 0.9.15 release? Date: Thu, 21 Nov 2013 19:27:53 +0000 Message-ID: <528E5EB9.1080400@skarnet.org> References: <20131121013056.GA2128@brightrain.aerifal.cx> <528DD529.4030408@skarnet.org> <20131121163911.GP24286@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1385062095 3342 80.91.229.3 (21 Nov 2013 19:28:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 21 Nov 2013 19:28:15 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-4265-gllmg-musl=m.gmane.org@lists.openwall.com Thu Nov 21 20:28:21 2013 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 1VjZvI-0005qz-Rk for gllmg-musl@plane.gmane.org; Thu, 21 Nov 2013 20:28:20 +0100 Original-Received: (qmail 15762 invoked by uid 550); 21 Nov 2013 19:28:19 -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 15694 invoked from network); 21 Nov 2013 19:28:04 -0000 X-SourceIP: 89.100.252.69 User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 In-Reply-To: <20131121163911.GP24286@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:4261 Archived-At: > Perhaps strftime is failing to null-terminate under some conditions. > Did you try pre-filling the buffer with junk to see if it makes the > bug reproducable? I didn't investigate or experiment more, but I will as soon as I get some time - maybe this week-end. > I'm not familiar with the "right/" timezones and they're difficult to > google for -- please give me a reference for what they are, if you > can. However, musl only uses zoneinfo for timezone/daylight-time > purposes, not for any sort of adjustment between POSIX/calendar time > and UTC(w/leap-seconds) and/or TAI. Perhaps this is the source of the > discrepency. The short version of what right/ timezones are is explained here: http://www.madore.org/~david/computers/unix-leap-seconds.html#tai-minus-10 The difference between glibc and musl is 25 seconds, not 35 as I wrote, which seems to indicate that musl's gmtime()/localtime() does not take leap second tables, which are defined in right/ timezones, into account. I would really love that to be fixed - maybe not for 0.9.15, but for 0.9.16 if possible, because I'm a hardcore TAI-10 user. -- Laurent