[Mono-list] DirectoryInfo.GetFiles() bug?
Chris Howie
cdhowie at gmail.com
Wed Jan 23 14:02:25 EST 2008
On Jan 23, 2008 1:45 PM, Jonathan Pryor <jonpryor at vt.edu> wrote:
> On Wed, 2008-01-23 at 18:17 +0000, Alan McGovern wrote:
> > Are you sure that's a bug? '*.*' will look for every file which
> > contains a '.' character in it. If you want all files, you should just
> > use ' * ', or leave out the mask altogether.
>
> On Windows, '*.*' means *all* files, even those without a '.':
>
> http://blogs.msdn.com/oldnewthing/archive/2007/12/17/6785519.aspx
>
> So how close do we want to get to Win32 semantics? :-)
Maybe it could be tied in some way to MONO_IOMAP or
MONO_STRICT_IO_EMULATION so that people using broken OSes can switch
on the behavior they need, and the rest of us get the right behavior
by default. :)
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
More information about the Mono-list
mailing list