May 8, 2015
9:54 p.m.
On 05/08/2015 09:59 AM, Joseph Myers wrote:
Paul, although glibc's copy of parts of tzcode is a bit out of date, it looks like the currenthttps://github.com/eggert/tz.git still has the problematic code in private.h, relying on left-shifting -1 which has undefined behavior in C99/C11 (implementation-defined in C90, as per DR#081). Thanks for reporting that. I installed the attached patch into the experimental tz version on github <https://github.com/eggert/tz>, with the intent that this fix propagate into the next tz release and thus into glibc etc.