2010-05-11 Jeff Johnston <jjohnstn@redhat.com>

* libc/locale/locale.c (loadlocale): Fix dangling
        switch statement caused by __HAVE_LOCALE_INFO__ not being
        defined.
This commit is contained in:
Jeff Johnston 2010-05-11 20:40:14 +00:00
parent eb2c2b6e6e
commit 60bdafbbda
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2010-05-11 Jeff Johnston <jjohnstn@redhat.com>
* libc/locale/locale.c (loadlocale): Fix dangling
switch statement caused by __HAVE_LOCALE_INFO__ not being
defined.
2010-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* libc/string/strsignal.c: New file.

View File

@ -882,9 +882,11 @@ restart:
case LC_TIME:
ret = __time_load_locale (locale, (void *) l_wctomb, charset);
break;
#endif /* __HAVE_LOCALE_INFO__ */
default:
break;
}
#ifdef __HAVE_LOCALE_INFO__
if (ret)
FAIL;
#endif /* __HAVE_LOCALE_INFO__ */