From c899798be71d7f93ba1ad00f134f7b71ca6c3dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Mon, 14 Jan 2019 00:31:38 +0100 Subject: [PATCH] Avoid blocking copy in moveFile. --- source/vibe/core/file.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vibe/core/file.d b/source/vibe/core/file.d index 83defc3..6530a1e 100644 --- a/source/vibe/core/file.d +++ b/source/vibe/core/file.d @@ -191,7 +191,7 @@ void moveFile(string from, string to, bool copy_fallback = false) try { std.file.rename(from, to); } catch (FileException e) { - std.file.copy(from, to); + copyFile(from, to); std.file.remove(from); } }