Skip to content

Conversation

fabricemarie
Copy link

Fix a bug where reading twice a config file that changed would not overwrite the old in-memory config.
The previous version would simply append the new version (with the same section name) in the section array and it would be ignored.

@robik
Copy link
Owner

robik commented Mar 11, 2017

Thanks for pull request, however I think that we should not break the API compatibility for any bugfix. I am willing to merge this if it is backwards compatible (speaking of making section children a hashmap).

@fabricemarie
Copy link
Author

The sections and subsections work the same way as they used to from outside.

The only incompatible change is:

-    public IniSection[] sections() @property
+    public IniSection[string] sections() @property

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants