mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix a minor bug in fs::create_directories. Patch by Albert Wong.
llvm-svn: 139928
This commit is contained in:
parent
eb47e416c2
commit
de552b5c18
@ -656,7 +656,7 @@ error_code create_directories(const Twine &path, bool &existed) {
|
||||
if (error_code ec = fs::exists(parent, parent_exists)) return ec;
|
||||
|
||||
if (!parent_exists)
|
||||
return create_directories(parent, existed);
|
||||
if (error_code ec = create_directories(parent, existed)) return ec;
|
||||
|
||||
return create_directory(p, existed);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user