Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2016 00:44:15 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        Colin Percival <cperciva@tarsnap.com>
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:  <86shrpnwzk.fsf@desk.des.no>
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 %2B0000")
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Colin Percival <cperciva@tarsnap.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86shrpnwzk.fsf>