[pacman-dev] Rationale for the patch for case insensitive configuration values

Alexander Rødseth rodseth at gmail.com
Mon Jan 16 19:24:54 EST 2012


Hi,

I understand that case sensitivity can, perhaps, bring clarity for
configuration values like ILoveCandy, but IMO, both "Never" and
"never" should be allowed, as the uppercase letters bring no more
clarity, but add an additional requirement for the users to conform
to. That is the reason for the patch. Also, in the name of
consistency, I changed all the checks in conf.c, not just the check
for the word "Never".

This is about simplicity and removing a constraint that users
shouldn't have to relate to when editing pacman.conf.

I tested both compilation and execution of the resulting pacman binary
and it works fine here.

-- 
Sincerely,
 Alexander Rødseth
 Arch Linux Trusted User
 (xyproto on IRC, trontonic on AUR)


More information about the pacman-dev mailing list