[Mono-bugs] [Bug 487633] Directory.GetFiles *.* pattern should match files with periods in them on Linux

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Mar 23 22:17:15 EDT 2009


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

User mzyzik at gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=487633#c3





--- Comment #3 from Matt Zyzik <mzyzik at gmail.com>  2009-03-23 20:17:13 MST ---
Nobody's forcing Windows programmers to use "*.*" the same way nobody's forcing
Windows programmers to not use PathSeparater. If a developer is smart enough to
use PathSeparator, I doubt he'll resist using the proper "*" pattern (as per
Microsoft's documentation) to match all files.

All I'm suggesting is to follow what the MSDN docs dictate.

By keeping the current approach you're choosing not to do the right thing *and*
go against documentation, to introduce ugly behavior for the sake of
compatibility for poorly written Windows apps. At least make this a
MONO_IOMANIP option (with the right behavior being the default one).

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