🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #5384

Re: The type of time_t (was: struct tm -> time_t converter wanted)

#5384
From: Henry Spencer
Date: Sat, 22 Oct 1988 23:02
10 lines
950 bytes
In article <9816@haddock.ima.isc.com> karl@haddock.ima.isc.com (Karl Heuer) writes:
>There's nothing to prevent time_t from being typedef'd to unsigned long int,
>which would double the range...

Unfortunately, it would probably break a significant number of programs that
think time_t is signed.  Those programs are arguably broken already, but some
degree of pragmatism is necessary in such matters.
-- 
The meek can have the Earth;    |    Henry Spencer at U of Toronto Zoology
the rest of us have other plans.|uunet!attcan!utzoo!henry henry@zoo.toronto.edu
Technical Details
Message-ID: <1988Oct22.230215.19411@utzoo.uucp>
Path: arc1-ca.pugleaf.net!utzoo!henry
References: <442@grand.UUCP> <8700@smoke.BRL.MIL> <6964@cdis-1.uucp> <9816@haddock.ima.isc.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.std.c
Path: arc1-ca.pugleaf.net!utzoo!henry
From: henry@utzoo.uucp (Henry Spencer)
Subject: Re: The type of time_t (was: struct tm -> time_t converter wanted)
Message-ID: <1988Oct22.230215.19411@utzoo.uucp>
Organization: U of Toronto Zoology
References: <442@grand.UUCP> <8700@smoke.BRL.MIL> <6964@cdis-1.uucp> <9816@haddock.ima.isc.com>
Date: Sat, 22 Oct 88 23:02:15 GMT