diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-07-19 19:24:45 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-07-19 19:24:45 +0000 |
commit | dfbfc68a5b8d05b642dafca84a8e6affb68b7241 (patch) | |
tree | a397a4b105ca7445e51e2ea23c04e803a6a3a758 | |
parent | c9c2b42229bf74a7d482b09792562a15c6a690a7 (diff) | |
download | cygnal-dfbfc68a5b8d05b642dafca84a8e6affb68b7241.tar.gz cygnal-dfbfc68a5b8d05b642dafca84a8e6affb68b7241.tar.bz2 cygnal-dfbfc68a5b8d05b642dafca84a8e6affb68b7241.zip |
* libc/locale/lmessages.c (_C_messages_locale):
Move __HAVE_LOCALE_INFO_EXTENDED__ before codeset.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rw-r--r-- | newlib/libc/locale/lmessages.c | 6 |
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 */ |