]> git.ipfire.org Git - thirdparty/systemd.git/commit
locale-setup: do not load locale from environemnt when /etc/locale.conf is unchanged
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 28 Dec 2024 06:07:31 +0000 (15:07 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Sat, 28 Dec 2024 12:04:01 +0000 (12:04 +0000)
commit80797bbb919b3ccde4e51b349f3ca70c1157053e
treec0ba346905993e6ce0dcb1cc6a5b0de623a1439d
parent51a0a3b0494d01c1622f6d0c3e2c31e01c18612f
locale-setup: do not load locale from environemnt when /etc/locale.conf is unchanged

Previously, when /etc/locale.conf is unchanged, locales were loaded from
possibly outdated environment variable.

Fixes a bug introduced by 018befcff6b51f8a50ca232e1984d34526037241 (v253).
Fixes #35717.
src/shared/locale-setup.c