Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-07-19 23:24:45 +0400
committerCorinna Vinschen <corinna@vinschen.de>2011-07-19 23:24:45 +0400
commitdfbfc68a5b8d05b642dafca84a8e6affb68b7241 (patch)
treea397a4b105ca7445e51e2ea23c04e803a6a3a758 /newlib
parentc9c2b42229bf74a7d482b09792562a15c6a690a7 (diff)
* libc/locale/lmessages.c (_C_messages_locale):
Move __HAVE_LOCALE_INFO_EXTENDED__ before codeset.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog5
-rw-r--r--newlib/libc/locale/lmessages.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 56285cc93..369654126 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-19 Ralf Corsépius <ralf.corsepius@rtems.org>
+
+ * libc/locale/lmessages.c (_C_messages_locale):
+ Move __HAVE_LOCALE_INFO_EXTENDED__ before codeset.
+
2011-07-19 Matt Johnson <johnso87@crhc.illinois.edu>
* libc/reent/sbrkr.c: Define _sbrk_r independently of the definition
diff --git a/newlib/libc/locale/lmessages.c b/newlib/libc/locale/lmessages.c
index c5bb9b397..33a4a5a21 100644
--- a/newlib/libc/locale/lmessages.c
+++ b/newlib/libc/locale/lmessages.c
@@ -41,10 +41,10 @@ static const struct lc_messages_T _C_messages_locale = {
"^[yY]" , /* yesexpr */
"^[nN]" , /* noexpr */
"yes" , /* yesstr */
- "no" , /* nostr */
- "ASCII" /* codeset */
+ "no" /* nostr */
#ifdef __HAVE_LOCALE_INFO_EXTENDED__
- , L"^[yY]" , /* wyesexpr */
+ , "ASCII" , /* codeset */
+ L"^[yY]" , /* wyesexpr */
L"^[nN]" , /* wnoexpr */
L"yes" , /* wyesstr */
L"no" /* wnostr */