projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix nl_langinfo_l(CODESET, loc) reporting wrong locale's value
[musl]
/
src
/
locale
/
strcoll.c
diff --git
a/src/locale/strcoll.c
b/src/locale/strcoll.c
index
8b84b1e
..
84f199f
100644
(file)
--- a/
src/locale/strcoll.c
+++ b/
src/locale/strcoll.c
@@
-1,5
+1,6
@@
#include <string.h>
#include <locale.h>
#include <string.h>
#include <locale.h>
+#include "locale_impl.h"
#include "libc.h"
int __strcoll_l(const char *l, const char *r, locale_t loc)
#include "libc.h"
int __strcoll_l(const char *l, const char *r, locale_t loc)
@@
-9,7
+10,7
@@
int __strcoll_l(const char *l, const char *r, locale_t loc)
int strcoll(const char *l, const char *r)
{
int strcoll(const char *l, const char *r)
{
- return __strcoll_l(l, r,
LC_GLOBAL
_LOCALE);
+ return __strcoll_l(l, r,
CURRENT
_LOCALE);
}
weak_alias(__strcoll_l, strcoll_l);
}
weak_alias(__strcoll_l, strcoll_l);