mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-16 03:42:53 +01:00
fixed GH #1573: Poco::File::createDirectories() should not throw Poco::FileExistsException
This commit is contained in:
parent
6a931c2175
commit
a39e374aec
@ -328,7 +328,13 @@ void File::createDirectories()
|
||||
File f(p);
|
||||
f.createDirectories();
|
||||
}
|
||||
createDirectoryImpl();
|
||||
try
|
||||
{
|
||||
createDirectoryImpl();
|
||||
}
|
||||
catch (FileExistsException&)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user