Thread-local locale handling part of XPG7.
authorUlrich Drepper <drepper@redhat.com>
Sun, 23 Aug 2009 17:56:08 +0000 (10:56 -0700)
committerUlrich Drepper <drepper@redhat.com>
Sun, 23 Aug 2009 17:56:08 +0000 (10:56 -0700)
I incorrectly enabled the definitions for XPG6.

ChangeLog
locale/locale.h

index 7e88049..c48442d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-23  Ulrich Drepper  <drepper@redhat.com>
+
+       * locale/locale.h: Include xlocale.h and the thread-local locale
+       declarations for XPG7, not XPG6.
+
 2009-08-21  Andreas Schwab  <schwab@redhat.com>
 
        * sysdeps/powerpc/powerpc32/____longjmp_chk.S: Removed.
index b24ae24..2aa19e7 100644 (file)
@@ -130,7 +130,7 @@ extern struct lconv *localeconv (void) __THROW;
 __END_NAMESPACE_STD
 
 
-#ifdef __USE_XOPEN2K
+#ifdef __USE_XOPEN2K8
 /* The concept of one static locale per category is not very well
    thought out.  Many applications will need to process its data using
    information from several different locales.  Another application is