glibc/conform
Joseph Myers eb64b6d457 Fix limits.h NL_NMAX namespace (bug 19929).
bits/xopen_lim.h (included by limits.h if __USE_XOPEN) defines
NL_NMAX, but this constant was removed in the 2008 edition of POSIX so
should not be defined in that case.  This patch duly disables that
define for __USE_XOPEN2K8.  It remains enabled for __USE_GNU to avoid
affecting sysconf (_SC_NL_NMAX), the implementation of which uses
"#ifdef NL_NMAX".

Tested for x86_64 and x86 (testsuite, and that installed stripped
shared libraries are unchanged by the patch).

	[BZ #19929]
	* include/bits/xopen_lim.h (NL_NMAX): Do not define if
	[__USE_XOPEN2K8 && !__USE_GNU].
	* conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
	variable.
2016-04-08 22:52:51 +00:00
..
data Don't declare float / long double Bessel functions for XSI POSIX (bug 18977). 2015-09-16 22:04:40 +00:00
GlibcConform.pm Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
Makefile Fix limits.h NL_NMAX namespace (bug 19929). 2016-04-08 22:52:51 +00:00
check-header-lists.sh Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
conformtest.pl Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
linknamespace.pl Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00
list-header-symbols.pl Make shebang interpreter directives consistent 2016-01-07 04:03:21 -05:00