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:
b48a8fd
)
Fix a copy+pasto.
author
Dan Gohman
<gohman@apple.com>
Tue, 2 Nov 2010 22:56:51 +0000
(22:56 +0000)
committer
Dan Gohman
<gohman@apple.com>
Tue, 2 Nov 2010 22:56:51 +0000
(22:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118106
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 37ce00e6c0b8bfaf778c1f605044672ea8ecaa4b..15cbcab1b9a87be2cb9ec324ce5e6729dfa51edb 100644
(file)
--- a/
lib/System/Unix/Path.inc
+++ b/
lib/System/Unix/Path.inc
@@
-143,7
+143,8
@@
Path::GetTemporaryDirectory(std::string *ErrMsg) {
// Linux and FreeBSD have it. Others probably won't.
char pathname[] = "/tmp/llvm_XXXXXX";
if (0 == mkdtemp(pathname)) {
- MakeErrMsg(ErrMsg, pathname + ": can't create temporary directory");
+ MakeErrMsg(ErrMsg,
+ std::string(pathname) + ": can't create temporary directory");
return Path();
}
Path result;