uptime 2 years!

mdh mdh_lists at yahoo.com
Fri Oct 10 03:06:02 UTC 2008


--- On Thu, 10/9/08, Eitan Adler <eitanadlerlist at gmail.com> wrote:
> From: Eitan Adler <eitanadlerlist at gmail.com>
> Subject: Re: uptime 2 years!
> To: freebsd-questions at FreeBSD.org
> Date: Thursday, October 9, 2008, 8:41 PM
> Lowell Gilbert wrote:
> [snip]
> > And in theory it should be possible to change time_t
> to unsigned, and
> > get another two-thirds of a century out of it...
> > 
> However this would break binary compatibility with anything
> compiled 
> before the change.

One thing to consider is that changing any signed value to an unsigned value then prevents functions which return that type from returning -1 (or otherwise <0) to indicate an error condition.  Even if it doesn't affect anything at all in the base system, it could impact untold sums of software developed not in the base system. 
- mdh



      


More information about the freebsd-questions mailing list