Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#6 Duplicate sections and keys must be overwritten

v0.9.2
closed-fixed
INI (26)
7
2005-03-15
2005-01-20
No

Fredrik Svensson pointed out to me that many of the of
the older INI file formats allowed duplicate sections
and keys. I decided that the best way to handle these
issues is to make it work like Delphi:

---------------------
"If the same section appears more than once in the same
file, or if the same key appears more than once in the
same section, then the last occurrence prevails."
Link:
http://delphi.about.com/od/objectpascalide/l/aa120401a.htm
---------------------

Discussion

  • Logged In: YES
    user_id=163900

    This has been fixed in CVS. A second step would be to add
    an INI format section to both the reference and the manual
    about facts such as this section overriding functionality.

     
    • status: open --> open-fixed
     
    • milestone: --> v0.9.2
    • status: open-fixed --> closed-fixed
     
  • Logged In: YES
    user_id=163900

    This fix has been added to the new Nini release.