[Mono-bugs] [Bug 76966][Nor] Changed - [PATCH] Directory.GetDirectories() returns unix domain sockets

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Jan 3 09:18:45 EST 2006


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 sebastien at ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=76966

--- shadow/76966	2006-01-03 09:15:07.000000000 -0500
+++ shadow/76966.tmp.14722	2006-01-03 09:18:45.000000000 -0500
@@ -10,14 +10,13 @@
 Component: CORLIB
 AssignedTo: sebastien at ximian.com                            
 ReportedBy: gnome at flowerday.cx               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
-Summary: Directory.GetDirectories() returns unix domain sockets
+Summary: [PATCH] Directory.GetDirectories() returns unix domain sockets
 
 A call to DirectoryInfo.GetDirectories() also returns unix domain sockets,
 which clearly aren't directories. This can leave programs that recurse down
 directory trees in an infinite loop.
 
 The attached test case demonstrates this problem, run it as follows:
@@ -35,6 +34,11 @@
 using Directory.
 
 ------- Additional Comments From sebastien at ximian.com  2006-01-03 09:15 -------
 Created an attachment (id=16276)
 file-io.20060103.diff
 
+
+------- Additional Comments From sebastien at ximian.com  2006-01-03 09:18 -------
+The problem was in the runtime. We weren't processing sockets as a
+special case and they turned out to be seen as directories.
+Sockets (0140000) != Directory (040000) + Regular file (0100000)


More information about the mono-bugs mailing list