GNOME Bugzilla – Bug 565465
Recognize True/False as well as true/false in config file (patch attached)
Last modified: 2009-07-17 18:50:53 UTC
Please describe the problem: Currently options in custom.conf are turned on with Enable=true, but not Enable=True. Often users type True and then wonder why some feature isn't working. This trivial patch allows True and False. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
Created attachment 125201 [details] [review] Allow "True"/"False" as options flags in addition to "true"/"false" and 1/0.
I'm not a GDM maintainer, but you could use g_ascii_strcasecmp() to compare the two strings regardless of the case instead of manually doing two strcmp().
maybe we should just use rpmatch()?
This got fixed by http://git.gnome.org/cgit/gdm/commit/?id=105fa59118334e838eddf6b1e3ee58bb4ed00c85