Nov. 25, 2008
3:41 p.m.
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@demon.net> | Tel: +44 20 8495 6138 Internet Expert | Home: <clive@davros.org> | Fax: +44 870 051 9937 Demon Internet | WWW: http://www.davros.org | Mobile: +44 7973 377646 THUS - a Cable and Wireless business