• src/sbbs3/scfgsave.c

    From Rob Swindell@VERT to Git commit to main/sbbs/m on Sun Jan 22 17:39:00 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-boards

    The sub_t.subnum's that were being updated as message areas were being saved to msgs.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) and
    in v3.20, we save the sub's internal code (to msgs.ini) and were using the newly
    updated sub_t.subnum to find the corresponding sub_t for that internal code. Since
    the 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!

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Sat Feb 11 17:27:03 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 -1

    min_dspace is an *unsigned* short, so saving 65535 (the default) was converting the signed decimal representation when saving file.ini.

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