Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2017 10:15:32 -0500
From:      Justin Hibbits <jrh29@alumni.cwru.edu>
To:        Ian Lepore <ian@freebsd.org>
Cc:        Bruce Evans <brde@optusnet.com.au>, Hans Petter Selasky <hps@selasky.org>,  Michael Tuexen <tuexen@freebsd.org>, Cy Schubert <Cy.Schubert@komquats.com>, src-committers <src-committers@freebsd.org>,  "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>,  "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r317208 - head/sys/netinet
Message-ID:  <CAHSQbTCzsTp0LWBU5Gdzx0xg2A7Hi3x7%2ButvH_2U1WHgMJ8DjQ@mail.gmail.com>
In-Reply-To: <1492785557.56859.9.camel@freebsd.org>
References:  <201704210143.v3L1h99s037727@slippy.cwsent.com> <20170421131041.G966@besplex.bde.org> <8BBC38A0-DDBA-4C04-9654-98755B3E4E13@freebsd.org> <20170421173453.J1735@besplex.bde.org> <1920616c-1993-07d5-4855-73264dce0980@selasky.org> <20170421211348.I2311@besplex.bde.org> <1492785557.56859.9.camel@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 21, 2017 at 9:39 AM, Ian Lepore <ian@freebsd.org> wrote:
> On Fri, 2017-04-21 at 21:53 +1000, Bruce Evans wrote:
>> On Fri, 21 Apr 2017, Hans Petter Selasky wrote:
>>
>> > On 04/21/17 10:10, Bruce Evans wrote:
>> >> ...
>> >> [...]
>>
>> With another hat on, I lecture about the error of using unsigned types
>> except in emergency.  int32_t time_t rollover in 2038 is getting a bit
>> closer to an emergency.  Even for variables and types that were
>> misdesigned to be unsigned, it is easy to forget this and use them in
>> things like delta-calculations which require signed types.
>>
>> Bruce
>>
>
> In freebsd, only i386 and powerpc32 use 32-bit time_t.  So we have 21
> years left to wither-away all use of those 32-bit arches. :)
>

Talking with kib yesterday I intend to move powerpc/powerpc{,spe} to
64-bit time_t for 12, unless there are any objections (will start the
bikeshed sometime in the next few months).

Since it's Tier-2 I don't have to worry too much about compatibility
(but will make some token effort).

- Justin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHSQbTCzsTp0LWBU5Gdzx0xg2A7Hi3x7%2ButvH_2U1WHgMJ8DjQ>