From 085bbece2c6afc5f13698b52fac0299445c4317f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 26 Apr 2016 15:02:26 +0000 Subject: Fix langinfo.h nl_langinfo_l namespace (bug 19996). langinfo.h declares nl_langinfo_l if __USE_XOPEN2K. But this function was new in the 2008 edition of POSIX. This patch fixes the condition accordingly. Tested for x86_64 and x86 (testsuite, and that installed shared libraries are unchanged by the patch). [BZ #19996] * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8], not [__USE_XOPEN2K]. * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove variable. --- ChangeLog | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index b281c54a7d..5d6ea9e376 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2016-04-26 Joseph Myers + [BZ #19996] + * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8], + not [__USE_XOPEN2K]. + * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove + variable. + * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro. * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove variable. -- cgit v1.2.3