[Mono-bugs] [Bug 55938][Wis] Changed - Problem with SystemIO.DirectoryInfo and "/".

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 23 Mar 2004 17:22:19 -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 erik@bagfors.nu.

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

--- shadow/55938	2004-03-23 13:15:57.000000000 -0500
+++ shadow/55938.tmp.19404	2004-03-23 17:22:19.000000000 -0500
@@ -54,6 +54,50 @@
 /Erik
 
 ------- Additional Comments From gonzalo@ximian.com  2004-03-23 13:15 -------
 I cannot reproduce this bug with your test case.
 
 Can you post a complete stacktrace? (use mono --debug blah.exe)
+
+------- Additional Comments From erik@bagfors.nu  2004-03-23 17:22 -------
+If you cannot reproduce it I'm sure it's fixed in latest mono.  Just
+realized that I didn't say what version I used.
+
+The debian package is numbered 0.29.99.20040114-4 
+$ mono --version
+Mono JIT compiler version 0.29.99.20040114, (C) 2002, 2003 Ximian, Inc.
+$ mcs --version
+Mono C# compiler version 0.29.99.0
+
+
+So perhaps it's fixed now?
+Here is the stacktrace anyway!  But don't spend to much time on it
+since I guess it's fixed.
+
+
+$ mono --debug test.exe /
+Getting directory info for /
+ 
+Files are:
+ 
+Unhandled Exception: System.ArgumentException: The Path do not have a
+valid format
+in [0x0002c] (at
+/home/inet/debian/dev/build-area/mcs-0.29.99.20040114/class/corlib/System.IO/Directory.cs:355)
+System.IO.Directory:GetFileSystemEntries
+(string,string,System.IO.FileAttributes,System.IO.FileAttributes)
+in [0x00005] (at
+/home/inet/debian/dev/build-area/mcs-0.29.99.20040114/class/corlib/System.IO/Directory.cs:213)
+System.IO.Directory:GetFiles (string,string)
+in [0x00007] (at
+/home/inet/debian/dev/build-area/mcs-0.29.99.20040114/class/corlib/System.IO/DirectoryInfo.cs:95)
+System.IO.DirectoryInfo:GetFiles (string)
+in <0x00058> (wrapper remoting-invoke-with-check)
+System.IO.DirectoryInfo:GetFiles (string)
+in [0x00006] (at
+/home/inet/debian/dev/build-area/mcs-0.29.99.20040114/class/corlib/System.IO/DirectoryInfo.cs:90)
+System.IO.DirectoryInfo:GetFiles ()
+in <0x00050> (wrapper remoting-invoke-with-check)
+System.IO.DirectoryInfo:GetFiles ()
+in <0x00095> .Test:Main (string[])
+ 
+