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:
45c21ff
)
Simplify.
author
Dan Gohman
<gohman@apple.com>
Tue, 2 Nov 2010 23:16:26 +0000
(23:16 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 2 Nov 2010 23:16:26 +0000
(23:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118110
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/System/Unix/Path.inc
patch
|
blob
|
history
diff --git
a/lib/System/Unix/Path.inc
b/lib/System/Unix/Path.inc
index 15cbcab1b9a87be2cb9ec324ce5e6729dfa51edb..b7afb8536d5e1fcf53be75cfd8f6b8f4203a505a 100644
(file)
--- a/
lib/System/Unix/Path.inc
+++ b/
lib/System/Unix/Path.inc
@@
-692,8
+692,7
@@
Path::createDirectoryOnDisk( bool create_parents, std::string* ErrMsg ) {
pathname[lastchar] = '\0';
if (createDirectoryHelper(&pathname[0], &pathname[lastchar], create_parents))
- return MakeErrMsg(ErrMsg,
- std::string(pathname) + ": can't create directory");
+ return MakeErrMsg(ErrMsg, pathname + ": can't create directory");
return false;
}