]> git.ipfire.org Git - thirdparty/systemd.git/commit
musl: locale-util: explicitly check existence of locale file 39689/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 11 Nov 2025 22:30:01 +0000 (07:30 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 12 Nov 2025 02:43:13 +0000 (11:43 +0900)
commit361beb82a5ff6580c63f1e6fa4999ae6ff8772ed
tree9570658467e6380eb3bd66b35f8623f096103fe6
parentb2a2f670aec83e83a8798cf901950cb1ae63b54d
musl: locale-util: explicitly check existence of locale file

musl's newlocale() always provides a locale object even the requested
locale does not exist. Let's explicitly check the existence of the
requested locale file.
src/basic/locale-util.c