* libc/locale/locale.c (loadlocale): Fix typo in comment.

This commit is contained in:
Corinna Vinschen 2010-02-25 16:16:16 +00:00
parent 830686ec0b
commit 7c3c3fea6d
2 changed files with 6 additions and 2 deletions

View File

@ -1,6 +1,10 @@
2010-02-25 Corinna Vinschen <corinna@vinschen.de> 2010-02-25 Corinna Vinschen <corinna@vinschen.de>
* libc/locale/locale.c: Throughout, extensively comment on the * libc/locale/locale.c (loadlocale): Fix typo in comment.
2010-02-25 Corinna Vinschen <corinna@vinschen.de>
* libc/locale/locale.c: Throughout, extensively comment on the
reason for using __CYGWIN__. reason for using __CYGWIN__.
(lconv): Remove _CONST entirely. (lconv): Remove _CONST entirely.
(loadlocale): Guard calls to function loading locale-specific (loadlocale): Guard calls to function loading locale-specific

View File

@ -464,7 +464,7 @@ loadlocale(struct _reent *p, int category)
and their replacement locale. For instance, the alias "french" is and their replacement locale. For instance, the alias "french" is
translated to "fr_FR.ISO-8859-1", the alias "thai" is translated to translated to "fr_FR.ISO-8859-1", the alias "thai" is translated to
"th_TH.TIS-620". If successful, the function returns with a pointer "th_TH.TIS-620". If successful, the function returns with a pointer
to the second argument, which is a buffer in which the reaplcement locale to the second argument, which is a buffer in which the replacement locale
gets stored. Otherwise the function returns NULL. */ gets stored. Otherwise the function returns NULL. */
char tmp_locale[ENCODING_LEN + 1]; char tmp_locale[ENCODING_LEN + 1];
int ret = 0; int ret = 0;