GNU bug report logs - #23035
date: regression in timezone printing (+%Z)

Previous Next

Package: coreutils;

Reported by: Assaf Gordon <assafgordon <at> gmail.com>

Date: Thu, 17 Mar 2016 03:52:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pádraig Brady <P <at> draigBrady.com>
Cc: 23035 <at> debbugs.gnu.org, assafgordon <at> gmail.com, Paul Wise <pabs <at> debian.org>, 851934 <at> bugs.debian.org
Subject: bug#23035: date: regression in timezone printing (+%Z)
Date: Fri, 20 Jan 2017 18:31:07 -0800
[Message part 1 (text/plain, inline)]
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.
[0001-build-update-gnulib-submodule-to-latest.patch (text/x-diff, attachment)]
[0002-date-fix-TZ-regression.patch (text/x-diff, attachment)]

This bug report was last modified 8 years and 180 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.