standards/104743: [headers] [patch] Wrong values for _POSIX_ minimal limits

Bruce Evans brde at optusnet.com.au
Thu Feb 17 12:19:30 UTC 2011


On Thu, 17 Feb 2011, Bruce Cran wrote:

> Subject: Re: standards/104743: [headers] [patch] Wrong values for _POSIX_
> minimal limits
>
> Can this PR be closed now?

Most of its points seem to be unaddressed.  According to the followup,
some of the limits depend on the version of POSIX.  FreeBSD attempts
to support old versions of POSIX, and has some such support even in
<limits.h> (to prevent new POSIX definitions being visible for old
versions of POSIX), but it doesn't have ifdefs for any of the values.
All the old names are under a __POSIX_VISIBLE ifdef, which means any
version of POSIX, but the values for many of the old names are different
in at least POSIX.1-1990 from the ones in current POSIX, and <limits.h>
now matches current POSIX according to the followup.  I checked that
patch in the original PR resets all the values that it changes to match
POSIX.1-1990.

Bruce


More information about the freebsd-standards mailing list