• src/sbbs3/mail.cpp

    From rswindell@VERT to CVS commit on Mon Apr 30 11:54:00 2018
    src/sbbs3 mail.cpp 1.32 1.33
    Update of /cvsroot/sbbs/src/sbbs3
    In directory cvs:/tmp/cvs-serv3367

    Modified Files:
    mail.cpp
    Log Message:
    delmail(): don't truncate the .sid file to 0-bytes before writing the contents, instead truncate to the new length after writing the contents. This should
    make mail.sid files more tolerant of "out of disk space" situations and reduce the risk of lost data (0-byte mail.sid files) due to low/no free disk space.


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Thu Jan 9 17:56:28 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/fdac4238e18bc9102ba2583e
    Modified Files:
    src/sbbs3/mail.cpp
    Log Message:
    delallmail() optimization and fix

    Optimization:
    No need to read and re-write headers that already have the DELETE attribute.

    Fix:
    Forced permanent removal of deleted messages (e.g. when creating a new user that's reusing an existing user number), didn't work unless SCFG->Message Options->Purge Delete E-mail was set to "Immediately" (not the default).

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