From 12a94daf5f5eca96edfb3306be470f831df8f2ce Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 4 Sep 2020 14:21:10 +0200 Subject: [PATCH] loadlocale: don't casecmp digits strcmp is sufficient here Signed-off-by: Corinna Vinschen --- newlib/libc/locale/locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");