* nlsfuncs.cc (__set_charset_from_locale): Fix comment.

This commit is contained in:
Corinna Vinschen 2010-01-24 14:43:51 +00:00
parent 57c7e05ea7
commit 05fab4a63b
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2010-01-24 Corinna Vinschen <corinna@vinschen.de>
* nlsfuncs.cc (__set_charset_from_locale): Fix comment.
2010-01-24 Corinna Vinschen <corinna@vinschen.de> 2010-01-24 Corinna Vinschen <corinna@vinschen.de>
* nlsfuncs.cc (check_codepage): Move from syscalls.cc here. * nlsfuncs.cc (check_codepage): Move from syscalls.cc here.

View File

@ -690,9 +690,7 @@ strxfrm (char *s1, const char *s2, size_t sn)
/* Fetch default ANSI codepage from locale info and generate a setlocale /* Fetch default ANSI codepage from locale info and generate a setlocale
compatible character set code. Called from newlib's setlocale(), if the compatible character set code. Called from newlib's setlocale(), if the
charset isn't given explicitely in the POSIX compatible locale specifier. charset isn't given explicitely in the POSIX compatible locale specifier. */
The function also returns a pointer to the corresponding _mbtowc_r function
which is used subsequently. */
extern "C" void extern "C" void
__set_charset_from_locale (const char *locale, char *charset) __set_charset_from_locale (const char *locale, char *charset)
{ {