From 93b32226e662d9fd9b148651127c1bb4e99b376a Mon Sep 17 00:00:00 2001 From: xh Date: Tue, 15 Apr 2014 13:39:21 +0800 Subject: [PATCH] recursively create all parent directories if they do not exist on Windows --- src/vmime/platforms/windows/windowsFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmime/platforms/windows/windowsFile.cpp b/src/vmime/platforms/windows/windowsFile.cpp index 0ab90b16..5ecafa58 100644 --- a/src/vmime/platforms/windows/windowsFile.cpp +++ b/src/vmime/platforms/windows/windowsFile.cpp @@ -352,7 +352,7 @@ void windowsFile::createDirectoryImpl(const vmime::utility::file::path& fullPath { const vmime::string nativePath = windowsFileSystemFactory::pathToStringImpl(path); - windowsFile tmp(fullPath); + windowsFile tmp(path); if (tmp.isDirectory()) return;