NetBSD-Bugs archive

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

Re: misc/22221: Chicago time zone file problem



On Thu, 03 Apr 2008, David Holland wrote:
> I think another valid question to raise is whether this global
> variable needs to continue to be supported...

It's required by POSIX
<http://www.opengroup.org/onlinepubs/009695399/functions/timezone.html>,
but I don't see it documented in NetBSD's tzset(3) man page or anywhere
else obvious.  We do have timezone(3), but that's a function, not a
variable, and it's not in POSIX.

The loop starting at line 281 of src/lib/libc/time/localtime.c looks
suspicious.  I don't immediately see what sp->typecnt really means, but
it does appear that that timezone and altzone may be set more than once.

--apb (Alan Barrett)


Home | Main Index | Thread Index | Old Index