[llvm-commits] [llvm] r118106 - /llvm/trunk/lib/System/Unix/Path.inc
Dan Gohman
gohman at apple.com
Tue Nov 2 15:56:51 PDT 2010
Author: djg
Date: Tue Nov 2 17:56:51 2010
New Revision: 118106
URL: http://llvm.org/viewvc/llvm-project?rev=118106&view=rev
Log:
Fix a copy+pasto.
Modified:
llvm/trunk/lib/System/Unix/Path.inc
Modified: llvm/trunk/lib/System/Unix/Path.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/System/Unix/Path.inc?rev=118106&r1=118105&r2=118106&view=diff
==============================================================================
--- llvm/trunk/lib/System/Unix/Path.inc (original)
+++ llvm/trunk/lib/System/Unix/Path.inc Tue Nov 2 17:56:51 2010
@@ -143,7 +143,8 @@
// 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;
More information about the llvm-commits
mailing list