Closed yrutschle closed 3 years ago
I think you were relying on a bug which was fixed in 1.7.3. "/" isn't really a valid path, and there is a dedicated method to get the root setting so this kind of usage shouldn't be necessary.
a bug that's been around for a decade and is relied upon by projects is a feature :-)
Fair enough. For others who would get the same issue, the correct API is:
s = config_root_setting(&c);
Hi, I used to be able to call config_lookup on the root of a configuration (
config_lookup(c,"/");
). This works in 1.7.2, and older versions, but returns NULL on 1.7.3.Here's a minimal test case:
I can't see a change in the documentation: do we need to adapt the call?