Current-Users archive

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

Re: zdump not working?



hubert%feyrer.de@localhost (Hubert Feyrer) writes:

>On Mon, 26 Oct 2009, Paul Goyette wrote:
>> On a 5.99.21 system built from sources current as of 2009-10-24 18:29:38 
>> UTC, 
>> zdump goes into an infinite loop....

>I can confirm that I saw this behaviour a few days ago on a -current 
>system, too. It works on netbsd-5.

I fixed the infinite loop (in lib/libc/time/localtime.c), however,
that doesn't make zdump really working.

The problem comes from 64bit time_t which introduces negative
year numbers, a much larger range and requires larger buffers
for string represantations of dates with more than 4 year digits.

These problems are addressed in a more recent version of the
timezone code and I'm working on an update.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index