• src/sbbs3/filedat.c js_filebase.c src/smblib/smbfile.c smblib.h

    From Rob Swindell (on Windows 11)@1:103/705 to Git commit to main/sbbs/master on Fri Sep 13 21:31:53 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/09d721d429e3df4e978dfdc9
    Modified Files:
    src/sbbs3/filedat.c js_filebase.c src/smblib/smbfile.c smblib.h
    Log Message:
    Add/use smb_removefile_by_name()

    This fixes a filebase corruption issue that could be triggered by using FileBase.update() to rename a file while also changing the file's auxdata or extended description: you can't remove a file header that has the new filename (in the file_t.name field), cause it doesn't exist yet. So we needed an SMBLIB API function to pass the (original) filename instead. Much like the filedat.c removefile() function, but without the SMB opening/closing feature.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)