Subj : src/xpdev/ini_file.c To : Git commit to main/sbbs/master From : Rob Swindell Date : Tue Mar 09 2021 19:26:23 https://gitlab.synchro.net/main/sbbs/-/commit/dd9c4607533ed24bccb50988 Modified Files: src/xpdev/ini_file.c Log Message: De-duplicate the lists returned by iniGet/ReadSectionList()I noticed a duplicate area name (AGN_MODS) in a filefix %LIST responsefrom my FidoNet hub that's running TickIt/TickFix, and I thought to myself:Self, that shouldn't be possible. But alas, if one does have duplicatesections in a .ini file (e.g. tickit.ini), the iniGet/ReadSectionList()function would indeed return duplicate items in the list. Since the secondsection with the same name is not actually accessible, it shouldn't be countedas a valid section and thus not returned as part of the section list. Sectionnames are not case sensitive, so the names are compared case-insensitively forde-duplication purposes too. --- SBBSecho 3.13-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .