diff options
author | Martin Matuska <martin@matuska.org> | 2020-01-20 11:41:18 +0100 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2020-01-20 15:31:37 +0100 |
commit | 467d193dd61ca7669a5ba8d38e09836babf64e58 (patch) | |
tree | 86214724bfe7a312f937de9c2165efeaa9d46d90 /tar | |
parent | b51d6b621533b6ea7a0a9c4770cc23c2d62a88cf (diff) | |
download | libarchive-467d193dd61ca7669a5ba8d38e09836babf64e58.tar.gz |
Implement ARCHIVE_EXTRACT_SAFE_WRITES on Windows
As Windows does not support atomic rename/_wrename
we have to unlink the file right before calling _wrename
leaving a short unsafe window where a different file with the
same name can be created and make the rename operation fail.
Diffstat (limited to 'tar')
0 files changed, 0 insertions, 0 deletions