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=79914 --- shadow/79914 2006-11-14 14:31:18.000000000 -0500 +++ shadow/79914.tmp.19496 2006-11-14 19:33:29.000000000 -0500 @@ -41,6 +41,33 @@ debug but i didn't get anything that could help here. Maybe Aaron can give some help here. ------- Additional Comments From [EMAIL PROTECTED] 2006-11-13 13:57 ------- I'll comment with technical details when I get some time to actually investigate the problem. + +------- Additional Comments From [EMAIL PROTECTED] 2006-11-14 19:33 ------- +This bug doesn't appear when reverting to mono 1.1.18. Setting the IO +backend as mentioned to systemio also works when using mono 1.2. + +I attached two areas of src/Banshee.Base/IO/Unix.cs where I'm seeing +some more specific problems in the internal FileStat struct (line 53) +as well as the public IEnumerable GetDirectories(string directory) +method (line 122). + +Specifically, it appears these two lines set is_directory to false on +something that is most assuredly a directory: +is_directory &= (buf.st_mode & FilePermissions.S_IFDIR) == +FilePermissions.S_IFDIR; +is_directory &= ! ((buf.st_mode & FilePermissions.S_IFSOCK) == +FilePermissions.S_IFSOCK); + +The other issue I've seen is here, inside GetDirectories, line 126: +if(entry.IsDirectory && entry.Exists && !entry.IsSocket) { + +entry.IsDirectory is false even though the entry is actually a +directory. (entry.Exists is true, !entry.IsSocket is true) + +I'll see if I can whip together a test case. + + + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
