• src/sbbs3/main.cpp sbbs.h

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, June 10, 2021 13:27:44
    Modified Files:
    src/sbbs3/main.cpp sbbs.h
    Log Message:
    mv() simplified for the non-copy case

    Constified function arguments. Source path is still case-insensitive, but destination is case-sensitive (hopefully that's not an issue).

    When a "move" (!copy) is requested, a rename() is always attempted first and if successful, job done. Otherwise, we continue on with the file-copy (and then remove).

    This should resolve CID 332219 (DEADCODE).

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