Nov. 25, 2008
11:20 a.m.
Robert Elz <kre@munnari.oz.au> writes:
Date: Tue, 25 Nov 2008 07:37:36 -0800 From: Paul Eggert <eggert@cs.ucla.edu> Message-ID: <87hc5vhl4v.fsf@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?