Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2020-09-04 15:21:10 +0300
committerCorinna Vinschen <corinna@vinschen.de>2020-09-04 15:21:10 +0300
commit12a94daf5f5eca96edfb3306be470f831df8f2ce (patch)
treef6d73ba6b86f3a7fff5cc9d2dbc37a9fec89410f /newlib/libc/locale
parentd72ea86d41e1295839de8cd9564bb8b44a8d862a (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.c2
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");