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:
Corinna Vinschen 2023-02-20 22:24:06 +01:00
parent 81ac069eec
commit 1cbe4b3dcc
1 changed files with 1 additions and 1 deletions

View File

@ -615,7 +615,7 @@ glob0(const Char *pattern, glob_t *pglob, size_t *limit)
static int static int
compare(const void *p, const void *q) compare(const void *p, const void *q)
{ {
return(strcmp(*(char **)p, *(char **)q)); return(strcoll(*(char **)p, *(char **)q));
} }
static int static int