chiark / gitweb /
parse_boolean: require exact matches
authorAnsgar Burchardt <ansgar@debian.org>
Sun, 27 Jul 2014 13:19:00 +0000 (15:19 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 27 Jul 2014 19:15:11 +0000 (15:15 -0400)
Require exact matches in all cases instead of treating strings
starting with 't' ('f') as true (false).

This is required for config_parse_protect_system to parse ProtectSystem=full
correctly: it uses parse_boolean and only tries a more specific parsing
function if that did not return a valid result. Thus "full" was treated as
"false" before.


No differences found