[Mono-bugs] [Bug 35906][Nor] New - Incorrect Behaviour of Path.GetFileName in root directory
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
19 Dec 2002 03:36:53 -0000
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 bp_mccarthy@iprimus.com.au.
http://bugzilla.ximian.com/show_bug.cgi?id=35906
--- shadow/35906 Wed Dec 18 22:36:53 2002
+++ shadow/35906.tmp.29105 Wed Dec 18 22:36:53 2002
@@ -0,0 +1,46 @@
+Bug#: 35906
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: bp_mccarthy@iprimus.com.au
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Incorrect Behaviour of Path.GetFileName in root directory
+
+Description of Problem:
+
+Path.GetFileName returns an empty string for files and directories in the
+root ("/") directory.
+
+
+Steps to reproduce the problem:
+1. Compile and run attached program
+
+Actual Results:
+
+/bin =
+/boot =
+/dev =
+/etc =
+
+Expected Results:
+
+/bin = bin
+/boot = boot
+/dev = dev
+/etc = etc
+
+How often does this happen?
+Every Time
+
+Additional Information:
+mono 0.17