[Mono-bugs] [Bug 76191][Nor] Changed - Wrong and invalid DirectoryInfo.Parent values on Windows

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 10 19:27:47 EST 2005


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 kornelpal at hotmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76191

--- shadow/76191	2005-11-10 12:10:04.000000000 -0500
+++ shadow/76191.tmp.32408	2005-11-10 19:27:47.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 76191
 Product: Mono: Class Libraries
 Version: unspecified
 OS: Windows XP
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: kornelpal at hotmail.com               
 QAContact: mono-bugs at ximian.com
@@ -136,6 +136,30 @@
 C:\
 C:\dir
 C:\dir
 
 ------- Additional Comments From dick at ximian.com  2005-11-10 12:10 -------
 Fixed in r52853
+
+------- Additional Comments From kornelpal at hotmail.com  2005-11-10 19:27 -------
+When running the above code I still get:
+<null>
+<null>
+C:\
+C:\dir
+C:\dir
+C:\dir\dir
+
+That is somehow better than was previously but the expected result 
+is still:
+C:\WINDOWS
+<null>
+C:\
+C:\
+C:\dir
+C:\dir
+
+Note that "C:" without backslash means the current directory on 
+drive C: and "C:dir" means the directory "dir" inside the current 
+directory of drive C:. But as you can see the different results 
+trailing backslashes are handled incorrectly. Also note that this 
+bug may exist in case of Unix paths as well.


More information about the mono-bugs mailing list