From 87e0697a46ad214be0d8fce0955494f4085de95a Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Tue, 9 Nov 2010 15:10:45 +0000 Subject: System/Path/Windows: Change GetRootDirectory to return file:/// instead of C:/. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118502 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/System/Win32/Path.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/System/Win32') diff --git a/lib/System/Win32/Path.inc b/lib/System/Win32/Path.inc index 8e3004d..75f6b71 100644 --- a/lib/System/Win32/Path.inc +++ b/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 -- cgit v1.1