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

Alan McGovern alan.mcgovern at gmail.com
Wed Jan 23 13:17:43 EST 2008


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.

What filename is it you're expecting it to find that it isn't finding?

Alan.

On Jan 22, 2008 5:22 PM, place <psiplace at netscape.net> wrote:

>
> on Mono this;
>
> System.IO.DirectoryInfo.GetFiles("*.*")
>
> misses out files with no extension!!!!
>
> originally it, on dotnet, found all, as expected.
>
> given this might pass at lot of tests, it seems to me to be a nasty little
> bug, for x-framework development.
>
> my setup;
> mepis linus 6.5, mono 1.2.6, Boo 0.8
>
> --
> View this message in context:
> http://www.nabble.com/DirectoryInfo.GetFiles%28%29--bug--tp15023561p15023561.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20080123/700541db/attachment.html 


More information about the Mono-list mailing list