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


           Summary: Directory.GetFiles *.* pattern should match files with
                    periods in them on Linux
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.2.x
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          Found By: ---


Description of Problem:

Directory.GetFiles overload that takes a pattern ignores the ".*" portion of
the "*.*" pattern.

(Note: I see a comment in the _wapi_io_scandir function of
mono/io-layer/io-portability.c asking if there should be a MONO_IOMAP option to
control this behavior, so this is not an unknown issue.)

I do think, however, this is an issue. The msdn docs say nothing about the
"*.*" pattern and that it should be treated in an exceptional way. The MS.NET
runtime only treats the "*.*" pattern in a special way for familiarity sake for
DOS/Windows users. On Linux, the "*.*" pattern should not match files that are
missing a period character.

-- 
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  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to