mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-03-03 21:45:51 +08:00
Cygwin: glob: sort in current locale's collating order
Follow glibc here. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
81ac069eec
commit
1cbe4b3dcc
@ -615,7 +615,7 @@ glob0(const Char *pattern, glob_t *pglob, size_t *limit)
|
||||
static int
|
||||
compare(const void *p, const void *q)
|
||||
{
|
||||
return(strcmp(*(char **)p, *(char **)q));
|
||||
return(strcoll(*(char **)p, *(char **)q));
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
x
Reference in New Issue
Block a user