• src/sbbs3/mail.cpp mailsrvr.cpp main.cpp pack_rep.cpp qwk.cpp readmail

    From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Fri Jan 16 20:44:49 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/71aa48f825f3f72ac8c97291
    Modified Files:
    src/sbbs3/mail.cpp mailsrvr.cpp main.cpp pack_rep.cpp qwk.cpp readmail.cpp
    Log Message:
    Using smb_lock/unlock more regularly

    A locked SMB should be quickly closed and not re-opened until it's unlocked.

    This mainly to better support packing/rebuilding the mail base while other processes (e.g. the mail server) are up and potentially trying to use it.

    smbutil did lock it, but not everything quickly responded to a locked base and the index-rebuilding code in sbbs_t::delmail() didn't lock it.

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