Current-Users archive

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

Re: date/strftime() returning wrong timezone name



In article <29170.1555513666%jinx.noi.kre.to@localhost>,
Robert Elz  <kre%munnari.OZ.AU@localhost> wrote:
>    Date:        Wed, 17 Apr 2019 14:24:40 +0800 (PST)
>    From:        Paul Goyette <paul%whooppee.com@localhost>
>    Message-ID:  <Pine.NEB.4.64.1904171421490.10051%speedy.whooppee.com@localhost>
>
>  | I'd guess that a recent import of the latest tzcode has gone awry.
>
>I have seen this too, and when I get a few minutes (if Christos has
>not fixed it first) I will work out what is going wrong and fix it.
>
>I don't think it is (strictly) the latest tzcode (or its import) that
>is the problem, but another change that happened just about the same
>time.
>
>That is, I think this is a variant of the same problem that was causing
>date to (sometimes) core dump (and by so doing was making a whole bunch
>of ATF tests fail).

Yes this is the side effect of using tzgetname() instead of tsname[]
So tzgetname() is broken...

christos



Home | Main Index | Thread Index | Old Index