[Mono-bugs] [Bug 42631][Maj] New - Path.GetFullPath adds duplicate drive ("c:\c:\") on win32

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Thu, 8 May 2003 16:03:23 -0400 (EDT)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by pelle.johnsen@mail.dk.


--- shadow/42631	Thu May  8 16:03:23 2003
+++ shadow/42631.tmp.20000	Thu May  8 16:03:23 2003
@@ -0,0 +1,48 @@
+Bug#: 42631
+Product: Mono/Class Libraries
+Version: unspecified
+OS Details: win 2000
+Status: NEW   
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: pelle.johnsen@mail.dk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Path.GetFullPath adds duplicate drive ("c:\c:\") on win32
+Description of Problem:
+Path.GetFullPath returns wrong result on win32 with paths containing drive 
+letter. The drive letter is duplicated e.g. "C:\" becomes "C:\C:\"
+Steps to reproduce the problem:
+using System;
+using System.IO;
+class Test
+    static void Main()
+    {
+        Console.WriteLine(Path.GetFullPath(@"C:\dir\subdir"));
+    }
+Actual Results:
+Expected Results:
+How often does this happen? 
+Additional Information:
+This happens with mono-0.24. It is probably related to the recent fixes to