• src/xpdev/ini_file.c ini_file.h

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Tuesday, May 04, 2021 08:12:22
    https://gitlab.synchro.net/main/sbbs/-/commit/0d9111a526e0d42becd28186
    Modified Files:
    src/xpdev/ini_file.c ini_file.h
    Log Message:
    Add iniSortSections() which can sort a read ini list and optionally keys

    This also exposed problems with the find_section() utility function: when the "found" section was actually empty and the next immediate line in the ini file was the beginning of a new section, the "keys" indexed would actually be the next section. Now fixed.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net