* conformtest: correct POSIX expectations for locale.h [committed]
@ 2015-05-21 4:55 Joseph Myers
0 siblings, 0 replies; only message in thread
From: Joseph Myers @ 2015-05-21 4:55 UTC (permalink / raw)
To: libc-alpha
When cleaning up conformtest expectations for POSIX for locale.h in
<https://sourceware.org/ml/libc-alpha/2012-11/msg00382.html>, I missed
that locale.h had contents defined in POSIX.2:1993 as well as
POSIX.1:1995/6. Thus, LC_MESSAGES *should* in fact be required for
POSIX, because POSIX.2 says so; this patch adds that expectation
back. Tested for x86_64. Committed.
2015-05-20 Joseph Myers <joseph@codesourcery.com>
* conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
diff --git a/conform/data/locale.h-data b/conform/data/locale.h-data
index 003e6ca..adcd25f 100644
--- a/conform/data/locale.h-data
+++ b/conform/data/locale.h-data
@@ -31,7 +31,7 @@ macro-constant NULL == 0
macro-int-constant LC_ALL
macro-int-constant LC_COLLATE
macro-int-constant LC_CTYPE
-#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX
+#if !defined ISO && !defined ISO99 && !defined ISO11
macro-int-constant LC_MESSAGES
#endif
macro-int-constant LC_MONETARY
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2015-05-20 22:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-21 4:55 conformtest: correct POSIX expectations for locale.h [committed] Joseph Myers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).