summaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-11-08 09:26:08 -0500
committerUlrich Drepper <drepper@gmail.com>2011-11-08 09:26:08 -0500
commit5f078c3286c177a4d66ad89e7b3930e2d6132586 (patch)
treef0e933d3ea76c3f0af00f46f11ee8efb2193e6ea /locale
parentfe72eebd678166aad132a29865ee6cc78e746acc (diff)
Use strcasecmp_l instead of strcasecmp
Diffstat (limited to 'locale')
-rw-r--r--locale/findlocale.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/locale/findlocale.c b/locale/findlocale.c
index 2fec9a70d5..6c888f00c9 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. */