[Mono-bugs] [Bug 48582][Nor] New - Path.GetDirectoryName and FileInfo.DirectoryName produce different results

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 17 Sep 2003 18:28:56 -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 chris@turchin.net.

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

--- shadow/48582	2003-09-17 18:28:56.000000000 -0400
+++ shadow/48582.tmp.6527	2003-09-17 18:28:56.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 48582
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Mandrake 9.1
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: chris@turchin.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Path.GetDirectoryName and FileInfo.DirectoryName produce different results
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+Path.GetDirectoryName and FileInfo.DirectoryName produce different results
+when given a file name in  the working directory.
+
+Steps to reproduce the problem:
+1. build attached code: mcs testpath.cs
+2. run: mono testpath.exe testpath.cs
+
+
+Actual Results:
+
+dirname via DirectoryName: /home/chris/Documents/Projects/csbuild
+dirname via GetDirectoryName:
+
+Expected Results:
+
+dirname via DirectoryName: /home/chris/Documents/Projects/csbuild
+dirname via GetDirectoryName: /home/chris/Documents/Projects/csbuild
+
+How often does this happen? 
+always. relative paths don't work
+
+
+Additional Information: