about summary refs log tree commit diff
path: root/intl/localealias.c
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 /intl/localealias.c
parentfe72eebd678166aad132a29865ee6cc78e746acc (diff)
downloadglibc-5f078c3286c177a4d66ad89e7b3930e2d6132586.tar.gz
glibc-5f078c3286c177a4d66ad89e7b3930e2d6132586.tar.xz
glibc-5f078c3286c177a4d66ad89e7b3930e2d6132586.zip
Use strcasecmp_l instead of strcasecmp
Diffstat (limited to 'intl/localealias.c')
-rw-r--r--intl/localealias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/intl/localealias.c b/intl/localealias.c
index 735107abd3..6f5fa12495 100644
--- a/intl/localealias.c
+++ b/intl/localealias.c
@@ -1,5 +1,5 @@
 /* Handle aliases for locale names.
-   Copyright (C) 1995-2002, 2003, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1995-2002, 2003, 2005, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -64,7 +64,7 @@ char *alloca ();
 /* Rename the non ANSI C functions.  This is required by the standard
    because some ANSI C functions will require linking with this object
    file and the name space must not be polluted.  */
-# define strcasecmp __strcasecmp
+# define strcasecmp(s1, s2) __strcasecmp_l (s1, s2, _nl_C_locobj_ptr)
 
 # ifndef mempcpy
 #  define mempcpy __mempcpy