From 5f078c3286c177a4d66ad89e7b3930e2d6132586 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 8 Nov 2011 09:26:08 -0500 Subject: Use strcasecmp_l instead of strcasecmp --- locale/findlocale.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'locale') diff --git a/locale/findlocale.c b/locale/findlocale.c index 2fec9a7..6c888f0 100644 --- a/locale/findlocale.c +++ b/locale/findlocale.c @@ -258,7 +258,8 @@ _nl_find_locale (const char *locale_path, size_t locale_path_len, } /* Determine whether the user wants transliteration or not. */ - if (modifier != NULL && __strcasecmp (modifier, "TRANSLIT") == 0) + if (modifier != NULL + && __strcasecmp_l (modifier, "TRANSLIT", _nl_C_locobj_ptr) == 0) ((struct __locale_data *) locale_file->data)->use_translit = 1; /* Increment the usage count. */ -- cgit v1.1