|
Message-ID: <528E5EB9.1080400@skarnet.org> Date: Thu, 21 Nov 2013 19:27:53 +0000 From: Laurent Bercot <ska-dietlibc@...rnet.org> To: musl@...ts.openwall.com Subject: Re: Pending patches/issues before 0.9.15 release? > 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
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.