projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f4ddb3
)
Fix a minor bug in fs::create_directories. Patch by Albert Wong.
author
Eli Friedman
<eli.friedman@gmail.com>
Fri, 16 Sep 2011 18:36:31 +0000
(18:36 +0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Fri, 16 Sep 2011 18:36:31 +0000
(18:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139928
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/PathV2.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/PathV2.cpp
b/lib/Support/PathV2.cpp
index b7dfe4f9a5f17932e12378f4c432ed818a001bf3..bebe442e24786add86f9f589112912bed179c350 100644
(file)
--- a/
lib/Support/PathV2.cpp
+++ b/
lib/Support/PathV2.cpp
@@
-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);
}