Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2008 20:06:01 -0700 (PDT)
From:      mdh <mdh_lists@yahoo.com>
To:        freebsd-questions@FreeBSD.org
Subject:   Re: uptime 2 years!
Message-ID:  <958963.64003.qm@web56806.mail.re3.yahoo.com>
In-Reply-To: <48EEA4B3.3050707@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- On Thu, 10/9/08, Eitan Adler <eitanadlerlist@gmail.com> wrote:
> From: Eitan Adler <eitanadlerlist@gmail.com>
> Subject: Re: uptime 2 years!
> To: freebsd-questions@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



      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?958963.64003.qm>