diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 8f47de4d6..486da7e4b 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,6 +1,10 @@ 2010-02-25 Corinna Vinschen - * libc/locale/locale.c: Throughout, extensively comment on the + * libc/locale/locale.c (loadlocale): Fix typo in comment. + +2010-02-25 Corinna Vinschen + + * libc/locale/locale.c: Throughout, extensively comment on the reason for using __CYGWIN__. (lconv): Remove _CONST entirely. (loadlocale): Guard calls to function loading locale-specific diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index cc59df8e3..7e28511f8 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -464,7 +464,7 @@ loadlocale(struct _reent *p, int category) and their replacement locale. For instance, the alias "french" is 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 - 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. */ char tmp_locale[ENCODING_LEN + 1]; int ret = 0;