]> git.ipfire.org Git - thirdparty/systemd.git/commit
xdg-autostart-service: Use common boolean parser
authorDavid Edmundson <kde@davidedmundson.co.uk>
Tue, 13 Sep 2022 12:06:09 +0000 (13:06 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 13 Sep 2022 18:54:28 +0000 (03:54 +0900)
commit38429cb1e3f37c298aa20ab25d644c87a23dd2e2
treef4e5cf42334039b1ded824ab313ab6fc250aed4c
parentd01d9197f50667491eab287d1f0f1e62c85e1e50
xdg-autostart-service: Use common boolean parser

Technically the desktop entry specification says value should be the
string "true" or "false". Pragmatically every desktop has their own
parsing rules which are typically less strict on how to interpret other
values.

This caused some regressions downstream when we switched to the
xdg-autostart-generator where existing handmade files contained values
with "True" or "False".
src/xdg-autostart-generator/test-xdg-autostart.c
src/xdg-autostart-generator/xdg-autostart-service.c