Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

  • Rob Swindell's avatar
    mv() simplified for the non-copy case · 80422644
    Rob Swindell authored
    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).
    80422644