fixed GH #1573: Poco::File::createDirectories() should not throw Poco::FileExistsException

This commit is contained in:
Guenter Obiltschnig 2017-01-29 12:46:13 +01:00
parent 6a931c2175
commit a39e374aec

View File

@ -328,7 +328,13 @@ void File::createDirectories()
File f(p);
f.createDirectories();
}
createDirectoryImpl();
try
{
createDirectoryImpl();
}
catch (FileExistsException&)
{
}
}
}