svn commit: r317208 - head/sys/netinet

Justin Hibbits jrh29 at alumni.cwru.edu
Fri Apr 21 15:15:34 UTC 2017


On Fri, Apr 21, 2017 at 9:39 AM, Ian Lepore <ian at 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


More information about the svn-src-head mailing list