Grant Edwards <grant.b.edwa...@gmail.com> wrote:

> Well, the return type for time() changed from "int" (or was it long?)
> to "time_t" many years back.  That said, the actual underlying
> representation has never changed on 32-bit Linux systems.  Posix
> requires it to be signed, and on 32-bit Linux systems, it's still
> going to overflow in 2038 -- same as it ever was.

time() did always return a long, in special since it counts only in seconds.

Unfortunately Tru64 from DEC changed that to an int and Linux copied the bug.

FreeBSD was going to make the same mistake, but I warned them and they delayed 
their 64bit kernel until they had tested everything well enough.

Jörg

-- 
 EMail:jo...@schily.net                    (home) Jörg Schilling D-13353 Berlin
    joerg.schill...@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
 URL: http://cdrecord.org/private/ http://sf.net/projects/schilytools/files/'

Reply via email to