https://bugzilla.novell.com/show_bug.cgi?id=439751


           Summary: Path.GetDirectoryName does not clean its return value
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs@lists.ximian.com
        ReportedBy: [EMAIL PROTECTED]
         QAContact: mono-bugs@lists.ximian.com
          Found By: ---


$ csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> System.IO.Path.GetDirectoryName("a//b");
"a//"
csharp> System.IO.Path.GetDirectoryName("a//b/c");
"a/b"

I think the first case should return "a". Note that the function cleans its
return value fine in the second case.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  mono-bugs@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to