Subj : src/xpdev/ini_file.c To : Git commit to main/sbbs/master From : Rob Swindell Date : Fri Jun 24 2022 11:17 pm https://gitlab.synchro.net/main/sbbs/-/commit/ee057c0595f56b2f777b1055 Modified Files: src/xpdev/ini_file.c Log Message: Fix issue with iniSet* functions and root section Bug introduced in commit 0d9111a5: iniSet* functions would write key/values to the end of the list when the root section (NULL) was specified, rather than the beginning of the list. The root section always starts at the beginning of the list/file, so I'm not sure why section_start() was doing anything other than returning 0 for the root section. It's possible this now breaks iniSortSections() in some way, so that should be retested with a file with a root section and named sections. .