bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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:

http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=4e6e16b3f43ce96302b1e52e48730c1f15e18c14

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.

Attachment: 0001-build-update-gnulib-submodule-to-latest.patch
Description: Text Data

Attachment: 0002-date-fix-TZ-regression.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]