From owner-svn-src-head@freebsd.org Fri Apr 21 14:39:29 2017 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1C57D48C3F for ; Fri, 21 Apr 2017 14:39:29 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8CB73108E for ; Fri, 21 Apr 2017 14:39:28 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: 4ed58442-26a0-11e7-b96e-2378c10e3beb X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id 4ed58442-26a0-11e7-b96e-2378c10e3beb; Fri, 21 Apr 2017 14:39:23 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v3LEdH8P003681; Fri, 21 Apr 2017 08:39:17 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1492785557.56859.9.camel@freebsd.org> Subject: Re: svn commit: r317208 - head/sys/netinet From: Ian Lepore To: Bruce Evans , Hans Petter Selasky Cc: Michael Tuexen , Cy Schubert , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Date: Fri, 21 Apr 2017 08:39:17 -0600 In-Reply-To: <20170421211348.I2311@besplex.bde.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> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2017 14:39:30 -0000 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. :) With laptops and other portable devices increasingly being built around arm chips, and powerpc32 being relegated mostly to special purpose embedded systems, it may just happen naturally.  (As someone who builds special purpose embedded systems related to timekeeping, it probably won't be as easy or natural for me.) -- Ian