[Mono-list] DirectoryInfo.GetFiles() bug?

Juraj Skripsky js at hotfeet.ch
Wed Jan 23 14:00:18 EST 2008


Mono was modified last August to follow the Win32 semantics:

http://anonsvn.mono-project.com/viewcvs/trunk/mono/mono/io-layer/io-portability.c?rev=86390&view=log
Search for "Special-case patterns".

If it doesn't work, we should reopen the mentioned bug.

- Juraj




On Wed, 2008-01-23 at 13:45 -0500, Jonathan Pryor 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? :-)
> 
>  - Jon
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



More information about the Mono-list mailing list