From owner-svn-src-all@freebsd.org Fri Oct 21 22:44:49 2016 Return-Path: Delivered-To: svn-src-all@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 675D5C1C0DA for ; Fri, 21 Oct 2016 22:44:49 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 30C23175; Fri, 21 Oct 2016 22:44:48 +0000 (UTC) (envelope-from des@des.no) Received: from desk.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id 5FA1310778; Fri, 21 Oct 2016 22:44:47 +0000 (UTC) Received: by desk.des.no (Postfix, from userid 1001) id 10693439DA; Sat, 22 Oct 2016 00:44:15 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Colin Percival Cc: src-committers@FreeBSD.org, "svn-src-all\@freebsd.org" Subject: Re: cvs commit: src/sys/sys _types.h resource.h References: <200411081805.iA8I5hVK038813@repoman.freebsd.org> <01000157e3ac7982-b19e61c1-1619-44b1-88b5-3080d85e8d6d-000000@email.amazonses.com> <86wph1o8ec.fsf@desk.des.no> <01000157e9447f3f-f307bb1a-7179-48f8-9e6a-fca3cf0de5f5-000000@email.amazonses.com> Date: Sat, 22 Oct 2016 00:44:15 +0200 In-Reply-To: <01000157e9447f3f-f307bb1a-7179-48f8-9e6a-fca3cf0de5f5-000000@email.amazonses.com> (Colin Percival's message of "Fri, 21 Oct 2016 22:02:42 +0000") Message-ID: <86shrpnwzk.fsf@desk.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2016 22:44:49 -0000 Colin Percival writes: > I wasn't talking about the value of RLIM_INFINITY, but rather about wheth= er > rlim_t should be signed or unsigned. Right now it is signed; but POSIX s= ays > it should be unsigned, and most other OSes follow POSIX's mandate here. Yeah, I was a little bit confused about what my commit actually did (it's been 12 years!) but my point is that a) by all means, signedness doesn't really matter for compatibility, but b) if we're changing the type, we might as well change the value of RLIM_INFINITY to (rlim_t)-1 to match other OSes, and we can do it without significant breakage. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no