[Mono-bugs] [Bug 72671][Cri] New - Directory.GetFiles returns invalid data when no handles left.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 16 Feb 2005 20:08:13 -0500 (EST)


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 ryoung@novell.com.

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

--- shadow/72671	2005-02-16 20:08:13.000000000 -0500
+++ shadow/72671.tmp.19053	2005-02-16 20:08:13.000000000 -0500
@@ -0,0 +1,44 @@
+Bug#: 72671
+Product: Mono: Class Libraries
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: ryoung@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Directory.GetFiles returns invalid data when no handles left.
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+System.IO.Directory.GetFiles();  returns a string[] of length 0 when no
+file handles are available.  It should throw an exception.
+
+
+Steps to reproduce the problem:
+1. Compile and run the attached test.
+2. It should either return the right number of files or throw an exception
+when it tries to get the files in the directory.
+3. 
+
+Actual Results:
+
+
+Expected Results:
+
+
+How often does this happen? 
+
+every time the file handles in the process are all used up.
+
+
+Additional Information: