From: Corinna Vinschen Date: Sun, 17 Jan 2010 14:57:32 +0000 (+0000) Subject: * libc/locale/locale.c (loadlocale): Change comments to refer to X-Git-Tag: gdb_7_1-2010-02-18-branchpoint~140 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=da5f018bef3dfcb2adfbb5d38838a47fbbb6efca;p=newlib-cygwin.git * libc/locale/locale.c (loadlocale): Change comments to refer to ISO 639-3 rather than 639-2. --- diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 1697e7490..e47bb7bc6 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,8 @@ +2010-01-17 Corinna Vinschen + + * libc/locale/locale.c (loadlocale): Change comments to refer to + ISO 639-3 rather than 639-2. + 2010-01-17 Corinna Vinschen * libc/locale/locale.c (loadlocale): Allow three character diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index 8eb943094..1349927bf 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -52,7 +52,7 @@ the form language[_TERRITORY][.charset][@@modifier] <<"language">> is a two character string per ISO 639, or, if not available -for a given language, a three character string per ISO 639-2. +for a given language, a three character string per ISO 639-3. <<"TERRITORY">> is a country code per ISO 3166. For <<"charset">> and <<"modifier">> see below. @@ -475,7 +475,7 @@ loadlocale(struct _reent *p, int category) || c[1] < 'a' || c[1] > 'z') return NULL; c += 2; - /* Allow three character Language per ISO 639-2 */ + /* Allow three character Language per ISO 639-3 */ if (c[0] >= 'a' && c[0] <= 'z') ++c; if (c[0] == '_')