[llvm-commits] CVS: llvm/lib/System/Win32/Path.cpp
Jeff Cohen
jeffc at jolt-lang.org
Tue Dec 14 20:08:26 PST 2004
Changes in directory llvm/lib/System/Win32:
Path.cpp updated: 1.16 -> 1.17
---
Log message:
Fix VC++ compilation errors
---
Diffs of the changes: (+1 -6)
Index: llvm/lib/System/Win32/Path.cpp
diff -u llvm/lib/System/Win32/Path.cpp:1.16 llvm/lib/System/Win32/Path.cpp:1.17
--- llvm/lib/System/Win32/Path.cpp:1.16 Tue Dec 14 19:50:13 2004
+++ llvm/lib/System/Win32/Path.cpp Tue Dec 14 22:08:15 2004
@@ -180,11 +180,6 @@
}
Path
-Path::GetLLVMConfigDir() {
- return GetLLVMDefaultConfigDir();
-}
-
-Path
Path::GetUserHomeDirectory() {
const char* home = getenv("HOME");
if (home) {
@@ -600,7 +595,7 @@
dir.elideFile();
std::string fname = this->getLast();
- char* newName = alloca(MAX_PATH+1);
+ char newName[MAX_PATH + 1];
if (!GetTempFileName(dir.c_str(), fname.c_str(), 0, newName))
ThrowError("Cannot make unique filename for '" + path + "'");
More information about the llvm-commits
mailing list