On Fri, Mar 18, 2016 at 02:02:21PM +0000, Christos Zoulas wrote: > In article <20160318124125.42d61f...@cvs.netbsd.org>, > Brian Ginsbach <source-changes-d@NetBSD.org> wrote: > >-=-=-=-=-=- > > > >Module Name: src > >Committed By: ginsbach > >Date: Fri Mar 18 12:41:25 UTC 2016 > > > >Modified Files: > > src/lib/libc/time: localtime.c > > > >Log Message: > >Use the correct upper bounds for the types array. The correct upper > >bound is typecnt not timecnt. Now perpetual 'standard' time zones > >will work correctly as they have a typecnt of 1 but a timecnt of 0. > > Does this need to be pulled up to -7? >
Yes, in part as only tzgetname() is in -7; tzgetgmtoff() isn't. Brian