bug#23035: date: regression in timezone printing (+%Z)
From:
Paul Eggert
Subject:
bug#23035: date: regression in timezone printing (+%Z)
Date:
Fri, 20 Jan 2017 18:31:07 -0800
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1
Thanks for the heads-up. Rather than add that tzset call, which is a bit of a
hack, I'd rather make parse_datetime2 more reentrant so that it's immune to this
problem. So I installed this:
into Gnulib to improve the parse_datetime2 API, and installed the attached
patches into coreutils. This uncovered a bug in one of our recently-added test
cases, which the attached patches also fix.