[Mono-bugs] [Bug 439751] New: Path.GetDirectoryName does not clean its return value

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Oct 29 04:41:45 EDT 2008


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 at lists.ximian.com
        ReportedBy: sanxiyn at gmail.com
         QAContact: mono-bugs at 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.


More information about the mono-bugs mailing list