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:
parent
eb2c2b6e6e
commit
60bdafbbda
|
@ -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>
|
2010-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||||
|
|
||||||
* libc/string/strsignal.c: New file.
|
* libc/string/strsignal.c: New file.
|
||||||
|
|
|
@ -882,9 +882,11 @@ restart:
|
||||||
case LC_TIME:
|
case LC_TIME:
|
||||||
ret = __time_load_locale (locale, (void *) l_wctomb, charset);
|
ret = __time_load_locale (locale, (void *) l_wctomb, charset);
|
||||||
break;
|
break;
|
||||||
|
#endif /* __HAVE_LOCALE_INFO__ */
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
#ifdef __HAVE_LOCALE_INFO__
|
||||||
if (ret)
|
if (ret)
|
||||||
FAIL;
|
FAIL;
|
||||||
#endif /* __HAVE_LOCALE_INFO__ */
|
#endif /* __HAVE_LOCALE_INFO__ */
|
||||||
|
|
Loading…
Reference in New Issue