Skip to content
  • Rob Swindell's avatar
    Add/use smb_removefile_by_name() · 09d721d4
    Rob Swindell authored
    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.
    09d721d4