diff options
| author | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-11-09 15:10:45 +0000 |
|---|---|---|
| committer | Michael J. Spencer <bigcheesegs@gmail.com> | 2010-11-09 15:10:45 +0000 |
| commit | df929cf8dfe8968b111262569644d46aa4b533c3 (patch) | |
| tree | 767d9bd51d4cb27a850b7d5bc71cc0eca24a91b9 /llvm/lib | |
| parent | 4b263dddc46c2bb3b44558d07466314f2528672f (diff) | |
| download | bcm5719-llvm-df929cf8dfe8968b111262569644d46aa4b533c3.tar.gz bcm5719-llvm-df929cf8dfe8968b111262569644d46aa4b533c3.zip | |
System/Path/Windows: Change GetRootDirectory to return file:/// instead of C:/.
llvm-svn: 118502
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/System/Win32/Path.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/System/Win32/Path.inc b/llvm/lib/System/Win32/Path.inc index 8e3004d0ac4..75f6b7134a4 100644 --- a/llvm/lib/System/Win32/Path.inc +++ b/llvm/lib/System/Win32/Path.inc @@ -233,9 +233,9 @@ Path::GetTemporaryDirectory(std::string* ErrMsg) { // FIXME: the following set of functions don't map to Windows very well. Path Path::GetRootDirectory() { - Path result; - result.set("C:/"); - return result; + // This is the only notion that that Windows has of a root directory. Nothing + // is here except for drives. + return Path("file:///"); } void |

