Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Oct 2016 23:31:23 +0000
From:      Colin Percival <cperciva@tarsnap.com>
To:        =?UTF-8?Q?Dag-Erling_Sm=c3=b8rgrav?= <des@des.no>
Cc:        src-committers@FreeBSD.org, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>
Subject:   Re: cvs commit: src/sys/sys _types.h resource.h
Message-ID:  <01000157e995ad01-46d7143d-ba55-4226-9d12-e56d201fa37d-000000@email.amazonses.com>
In-Reply-To: <86shrpnwzk.fsf@desk.des.no>
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> <86shrpnwzk.fsf@desk.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/21/16 15:44, Dag-Erling Smørgrav wrote:
> Colin Percival <cperciva@tarsnap.com> writes:
>> I wasn't talking about the value of RLIM_INFINITY, but rather about whether
>> rlim_t should be signed or unsigned.  Right now it is signed; but POSIX says
>> 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 added a comment providing a reason for not conforming to POSIX, but did not
change the underlying behaviour.

> (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.

Should we get a ports experimental run for this?

-- 
Colin Percival
Security Officer Emeritus, FreeBSD | The power to serve
Founder, Tarsnap | www.tarsnap.com | Online backups for the truly paranoid



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01000157e995ad01-46d7143d-ba55-4226-9d12-e56d201fa37d-000000>