]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
conformtest: correct POSIX expectations for locale.h.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 20 May 2015 22:56:27 +0000 (22:56 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 20 May 2015 22:56:27 +0000 (22:56 +0000)
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.

* conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.

ChangeLog
conform/data/locale.h-data

index 32eda8f96105c52467f4959cceeec00f85825f56..d6a601200dc5edc62add7b14a37fd61ed8ab1e5d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
 
+       * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
+
        * conform/data/unistd.h-data (_POSIX_VERSION): Require.
        (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
        Do not mention otherwise.
index 003e6cace8df71ec85fc862ddd94fe33f8116a17..adcd25f6568d9cc7ced8395be75cefd9f188bcbb 100644 (file)
@@ -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