Date: Thu, 17 Feb 2011 23:19:19 +1100 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Bruce Cran <bruce@cran.org.uk> Cc: freebsd-standards@freebsd.org Subject: Re: standards/104743: [headers] [patch] Wrong values for _POSIX_ minimal limits Message-ID: <20110217230119.X2097@besplex.bde.org> In-Reply-To: <201102171040.p1HAeA0I020967@freefall.freebsd.org> References: <201102171040.p1HAeA0I020967@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110217230119.X2097>