diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-11-08 09:26:08 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-11-08 09:26:08 -0500 |
commit | 5f078c3286c177a4d66ad89e7b3930e2d6132586 (patch) | |
tree | f0e933d3ea76c3f0af00f46f11ee8efb2193e6ea /locale/findlocale.c | |
parent | fe72eebd678166aad132a29865ee6cc78e746acc (diff) | |
download | glibc-5f078c3286c177a4d66ad89e7b3930e2d6132586.zip glibc-5f078c3286c177a4d66ad89e7b3930e2d6132586.tar.gz glibc-5f078c3286c177a4d66ad89e7b3930e2d6132586.tar.bz2 |
Use strcasecmp_l instead of strcasecmp
Diffstat (limited to 'locale/findlocale.c')
-rw-r--r-- | locale/findlocale.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |