mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-16 15:01:15 +02: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);
|
File f(p);
|
||||||
f.createDirectories();
|
f.createDirectories();
|
||||||
}
|
}
|
||||||
createDirectoryImpl();
|
try
|
||||||
|
{
|
||||||
|
createDirectoryImpl();
|
||||||
|
}
|
||||||
|
catch (FileExistsException&)
|
||||||
|
{
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user