bus/desktop-file.c: Incorrect logic for excluding invalid group names in is_valid_section_name()
With recent dbus code from git master branch I get the following compile error with autotools:
../../dbus/bus/desktop-file.c: In function ?is_valid_section_name?:
../../dbus/bus/desktop-file.c:385:7: error: logical or of collectively exhaustive tests is always true [-Werror=logical-op]
if (!((*name >= 'A' && *name <= 'Z') || (*name >= 'a' || *name <= 'z') ||
^
As already mentioned in the merge request !15 (closed), it turned out that besides the compilation error also the logic is defective and has to be repaired.