Newsgroups: comp.std.c
Path: 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

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
