zdump loop problem

Clive D.W. Feather clive at demon.net
Tue Nov 25 15:41:05 UTC 2008


Paul Eggert said:
>> Apart from that, the overflow can only occur if cuthitime is extremely
>> negative (within 43,200 of the most negative value). I don't have the code
>> to hand and Google only points me at a Hungarian version, so I can't check
> if that can ever happen.
> 
> It can also happen if time_t is unsigned and cuthitme is less than
> 43200, i.e., cuthitime is close to 1970-01-01.

True.

-- 
Clive D.W. Feather  | Work:  <clive at demon.net>   | Tel:    +44 20 8495 6138
Internet Expert     | Home:  <clive at davros.org>  | Fax:    +44 870 051 9937
Demon Internet      | WWW: http://www.davros.org | Mobile: +44 7973 377646
THUS - a Cable and Wireless business



More information about the tz mailing list