From 12a94daf5f5eca96edfb3306be470f831df8f2ce Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 4 Sep 2020 14:21:10 +0200 Subject: 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(-) (limited to 'newlib') diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index 7b1b066..2c452ba 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"); -- cgit v1.1