[Mono-bugs] [Bug 77090][Nor] New - On *nix System.IO.DirectoryInfo.Parent returns null for the root folder instead of /

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Fri Dec 23 15:37:30 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 xenomorph2 at onlinehome.de.

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

--- shadow/77090	2005-12-23 15:37:30.000000000 -0500
+++ shadow/77090.tmp.9510	2005-12-23 15:37:30.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 77090
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: xenomorph2 at onlinehome.de               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: On *nix System.IO.DirectoryInfo.Parent returns null for the root folder instead of /
+
+On a *nix system System.IO.DirectoryInfo.Parent returns null for the root
+folder /.
+
+This means that you can only get a directory beneath the root folder with 
+DirectoryInfo.Parent but not the root folder itself.
+
+To reproduce it run the FileDialog MWF sample in:
+
+/trunk/winforms/filedialog
+
+Click the second toolbar button on the toolbar in the upper right corner to
+get one directory up. It doesn't leave the /home folder.


More information about the mono-bugs mailing list