recursively create all parent directories if they do not exist on Windows

This commit is contained in:
xh 2014-04-15 13:39:21 +08:00
parent 4965674b35
commit 93b32226e6

View File

@ -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;