diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2020-09-04 15:21:10 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2020-09-04 15:21:10 +0300 |
commit | 12a94daf5f5eca96edfb3306be470f831df8f2ce (patch) | |
tree | f6d73ba6b86f3a7fff5cc9d2dbc37a9fec89410f /newlib/libc/locale | |
parent | d72ea86d41e1295839de8cd9564bb8b44a8d862a (diff) |
loadlocale: don't casecmp digits
strcmp is sufficient here
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/locale')
-rw-r--r-- | newlib/libc/locale/locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index 7b1b0662c..2c452ba98 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -857,7 +857,7 @@ restart: c = charset + 3; if (*c == '-') ++c; - if (strcasecmp (c, "620")) + if (strcmp (c, "620")) FAIL; val = 874; strcpy (charset, "CP874"); |