[Mono-bugs] [Bug 643390] New: GetFileSystemEntries doesn't return full paths when forward slashes are used in the path

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Oct 3 13:30:37 EDT 2010


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

https://bugzilla.novell.com/show_bug.cgi?id=643390#c0


           Summary: GetFileSystemEntries doesn't return full paths when
                    forward slashes are used in the path
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.8.x
          Platform: x86
        OS/Version: Windows 7
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: tomas.matousek at microsoft.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1;
Trident/5.0)

Console.WriteLine(System.IO.Directory.GetFileSystemEntries("C:/temp/",
"*")[0]);
Console.WriteLine(System.IO.Directory.GetFileSystemEntries("C:\\temp\\",
"*")[0]);

Reproducible: Always

Steps to Reproduce:
1.
2.
3.
Actual Results:  
".\\file.txt"
"C:\\temp\\file.txt"

Expected Results:  
"C:/temp/file.txt"
"C:\\temp\\file.txt"

IronRuby fails to run RubySpec due to this issue.

-- 
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