shell: Use strcoll instead of strcmp where applicable
commit597850ae1fb9d70baf8dae7da0b5f5872654afba
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 2 Jun 2024 01:28:48 +0000 (2 09:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 8 Jun 2024 03:43:51 +0000 (8 11:43 +0800)
tree4bdaad4c26b94501fe27f5725141ae09498950b3
parentcb669294463ef454b59516016d91868a22d0eaef
shell: Use strcoll instead of strcmp where applicable

Use strcoll instead of strcmp so that the locale is taken into
account when sorting strings during pathname expansion, and for
the built-in test(1) string comparison operators.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
src/bltin/test.c
src/expand.c