summary refs log tree commit diff
path: root/conform
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-04-26 15:02:26 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-04-26 15:02:26 +0000
commit085bbece2c6afc5f13698b52fac0299445c4317f (patch)
treea317279d72ac9577579e2be8f3c403fe464398c3 /conform
parent6da052fd6a7e589e3a7ffeeec5756518f9d60e1a (diff)
downloadglibc-085bbece2c6afc5f13698b52fac0299445c4317f.tar.gz
glibc-085bbece2c6afc5f13698b52fac0299445c4317f.tar.xz
glibc-085bbece2c6afc5f13698b52fac0299445c4317f.zip
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.
Diffstat (limited to 'conform')
-rw-r--r--conform/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/conform/Makefile b/conform/Makefile
index a1759c929a..56a7dda2a2 100644
--- a/conform/Makefile
+++ b/conform/Makefile
@@ -211,7 +211,6 @@ test-xfail-UNIX98/unistd.h/conform = yes
 test-xfail-UNIX98/utmpx.h/conform = yes
 test-xfail-XOPEN2K/aio.h/conform = yes
 test-xfail-XOPEN2K/fcntl.h/conform = yes
-test-xfail-XOPEN2K/langinfo.h/conform = yes
 test-xfail-XOPEN2K/mqueue.h/conform = yes
 test-xfail-XOPEN2K/semaphore.h/conform = yes
 test-xfail-XOPEN2K/signal.h/conform = yes