Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
windows: call DeleteFileW and RemoveDirectoryW to be able to remove s…
…ymlinks before restore Windows symlinks could not be replaced during restore because win32_unlink() only used _wunlink() to remove existing files before recovery. _wunlink() cannot remove symlinks so that the overwrite of existing symlinks did not work. We first try with _unlink(); on failure DeleteFileW() and as last option we do RemoveDirectoryW() win32_unlink now is able to remove: * direcories * files * file symlinks and * directory symlinks Fixes #967: Symbolic links are not replaceable during restore on Win FD
- Loading branch information