Merge pull request #82 from NPU/master

recursively create all parent directories if they do not exist on Windows
This commit is contained in:
Vincent Richard 2014-04-17 22:19:58 +02:00
commit 45f52aeb2f

View File

@ -352,7 +352,7 @@ void windowsFile::createDirectoryImpl(const vmime::utility::file::path& fullPath
{ {
const vmime::string nativePath = windowsFileSystemFactory::pathToStringImpl(path); const vmime::string nativePath = windowsFileSystemFactory::pathToStringImpl(path);
windowsFile tmp(fullPath); windowsFile tmp(path);
if (tmp.isDirectory()) if (tmp.isDirectory())
return; return;