Skip to content
  • Brad King's avatar
    SystemTools: CopyFileAlways: avoid copying file over self · 92334e76
    Brad King authored
    Since commit 228c60b8 (SystemTools: CopyFileAlways: try to create a
    cheap CoW clone first, 2018-12-07) on Linux copying a file over itself
    by specifying `.` as the destination leaves behind an empty file.  This
    has long occurred on Windows too.  Move our existing same-file check
    to after we know the real destination file.
    92334e76