• src/sbbs3/scfgsave.c

    From Rob Swindell@1:103/705 to Git commit to main/sbbs/master on Sun Jan 22 17:39:44 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/cadada4df5a4752134329947
    Modified Files:
    src/sbbs3/scfgsave.c
    Log Message:
    Fix issue with QWKnet hub sub-board mappings when inserting new sub-boardsThe sub_t.subnum's that were being updated as message areas were being saved tomsgs.ini could not be used as an index into the scfg_t.sub array at this point(the subnum would be the new index position when the msgs.ini was re-read/loaded).This was not an issue in v3.19 because we just saved the subnum (to msgs.cnf) andin v3.20, we save the sub's internal code (to msgs.ini) and were using the newlyupdated sub_t.subnum to find the corresponding sub_t for that internal code. Sincethe subnum is not used now during the save process, no need to update it here(this reverses part of the commit 11e529d40bca40 from 5 years ago).This fixes issue #502 - thanks to the irc.synchro.netizens that reported it!
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell (on ChromeOS)@1:103/705 to Git commit to main/sbbs/master on Sat Feb 11 17:27:02 2023
    https://gitlab.synchro.net/main/sbbs/-/commit/03b1f169ca63ad0c3f602f8f
    Modified Files:
    src/sbbs3/scfgsave.c
    Log Message:
    Fix bug where file.ini min_dspace could be set to -1min_dspace is an *unsigned* short, so saving 65535 (the default) was convertingthe signed decimal representation when saving file.ini.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)