cvs commit: src/sys/sys _types.h resource.h

Dag-Erling Smørgrav des at des.no
Fri Oct 21 22:44:49 UTC 2016


Colin Percival <cperciva at 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'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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-all mailing list