zdump loop problem

Paul Eggert eggert at CS.UCLA.EDU
Tue Nov 25 19:20:51 UTC 2008


Robert Elz <kre at munnari.oz.au> writes:

>     Date:        Tue, 25 Nov 2008 07:37:36 -0800
>     From:        Paul Eggert <eggert at cs.ucla.edu>
>     Message-ID:  <87hc5vhl4v.fsf at penguin.cs.ucla.edu>
>
>   | It can also happen if time_t is unsigned
>
> I thought that was not permitted these days?

If all we go by is the standard, even a floating-point time_t is
permitted (though our code won't work with that...).

> I tried that as an experiment in the lead up to 4.2BSD

Yes, it breaks a lot of software and is pretty rare.  But I think it's
used in at least some versions of DJGPP, a modern 32-bit platform; see
<http://www.delorie.com/djgpp/doc/incs/sys/djtypes.h>.  Maybe DJGPP
plans to still be with us after 2038?



More information about the tz mailing list