Please do not reply to this email- if you want to comment on the bug, go to the URL shown below and enter your comments there.
Changed by [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=77759 --- shadow/77759 2006-03-10 15:27:30.000000000 -0500 +++ shadow/77759.tmp.1964 2006-03-10 15:27:30.000000000 -0500 @@ -0,0 +1,54 @@ +Bug#: 77759 +Product: Mono: Runtime +Version: 1.1 +OS: +OS Details: +Status: NEW +Resolution: +Severity: +Priority: Normal +Component: io-layer +AssignedTo: [EMAIL PROTECTED] +ReportedBy: [EMAIL PROTECTED] +QAContact: [EMAIL PROTECTED] +TargetMilestone: --- +URL: +Cc: +Summary: Directory.GetDirectories() returns block devices + +Hi, +the program below ends in a infinite recursion because +Directory.GetDirectories() returns block devices. Character devices are not +returned. +This is plain mono 1.1.13.4 on Ubuntu Dapper. + +Run it the following way: +mkdir foo +mknod foo/bar b 12 12 +test.exe foo +.... + +Bye + +PS: Similar to http://bugzilla.ximian.com/show_bug.cgi?id=76966 + + + +using System; +using System.IO; + +public class test { + + public static void recurse( DirectoryInfo info ) + { + Console.WriteLine("{0}", info.FullName); + foreach (DirectoryInfo dinfo in info.GetDirectories()) { + recurse( dinfo ); + } + } + + public static void Main( string [] args ) + { + recurse (new DirectoryInfo (args[0])); + } +} _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
