projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove incorrect ESRCH error from pthread_kill
[musl]
/
src
/
locale
/
strxfrm.c
diff --git
a/src/locale/strxfrm.c
b/src/locale/strxfrm.c
index
0ca9b07
..
14b76a6
100644
(file)
--- a/
src/locale/strxfrm.c
+++ b/
src/locale/strxfrm.c
@@
-1,5
+1,6
@@
#include <string.h>
#include <locale.h>
#include <string.h>
#include <locale.h>
+#include "locale_impl.h"
#include "libc.h"
/* collate only by code points */
#include "libc.h"
/* collate only by code points */
@@
-12,7
+13,7
@@
size_t __strxfrm_l(char *restrict dest, const char *restrict src, size_t n, loca
size_t strxfrm(char *restrict dest, const char *restrict src, size_t n)
{
size_t strxfrm(char *restrict dest, const char *restrict src, size_t n)
{
- return __strxfrm_l(dest, src, n,
LC_GLOBAL
_LOCALE);
+ return __strxfrm_l(dest, src, n,
CURRENT
_LOCALE);
}
weak_alias(__strxfrm_l, strxfrm_l);
}
weak_alias(__strxfrm_l, strxfrm_l);