summaryrefslogtreecommitdiffstats
path: root/bin/sh/expand.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>2016-08-18 07:43:18 +0000
committerache <ache@FreeBSD.org>2016-08-18 07:43:18 +0000
commit9df3ca0c4ea0f1564e8bd065847c75c7be4b0fb6 (patch)
tree4cdac78781e0750c7b06d6e12fe79c6561e8d812 /bin/sh/expand.c
parent3b4b8b07bcd6b496a8861ca471cb8c8394315ee7 (diff)
downloadFreeBSD-src-9df3ca0c4ea0f1564e8bd065847c75c7be4b0fb6.zip
FreeBSD-src-9df3ca0c4ea0f1564e8bd065847c75c7be4b0fb6.tar.gz
MFC r302937
Path generation was not according to collate Approved by: jilles
Diffstat (limited to 'bin/sh/expand.c')
-rw-r--r--bin/sh/expand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/sh/expand.c b/bin/sh/expand.c
index 6d0d78a..fe72c49 100644
--- a/bin/sh/expand.c
+++ b/bin/sh/expand.c
@@ -1196,7 +1196,7 @@ expsortcmp(const void *p1, const void *p2)
const char *s1 = *(const char * const *)p1;
const char *s2 = *(const char * const *)p2;
- return (strcmp(s1, s2));
+ return (strcoll(s1, s2));
}
OpenPOWER on IntegriCloud