Skip to content
  • Iustin Pop's avatar
    Add a generic write file function · 087b34fe
    Iustin Pop authored
    Currently there are a few version of "write a file safely" in the code.
    This patch adds a generic function that should be able to replace all
    the other versions.
    
    The "take attributes from the target file" option, while useful, is not
    implemented by this patch.
    
    Reviewed-by: imsnah,ultrotter
    087b34fe