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…
Reference in New Issue