[Mono-bugs] [Bug 81700][Nor] New - System.IO.Directory.GetFiles is always case-sensitive
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon May 21 13:32:50 EDT 2007
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 rolfkvinge at ya.com.
http://bugzilla.ximian.com/show_bug.cgi?id=81700
--- shadow/81700 2007-05-21 13:32:50.000000000 -0400
+++ shadow/81700.tmp.16303 2007-05-21 13:32:50.000000000 -0400
@@ -0,0 +1,42 @@
+Bug#: 81700
+Product: Mono: Runtime
+Version: 1.0
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: io-layer
+AssignedTo: dick at ximian.com
+ReportedBy: rolfkvinge at ya.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: System.IO.Directory.GetFiles is always case-sensitive
+
+System.IO.Directory.GetFiles is always case-sensitive in linux, even when
+accessing a case-insensitive file system (a windows share for instance).
+
+Code (to be executed on a case-insensitive file system)
+
+class a
+{
+ static void Main ()
+ {
+ string [] files = System.IO.Directory.GetFiles (".",
+"BUG.EXE");
+ System.Console.WriteLine (files.Length);
+ }
+}
+
+repro:
+mcs test.cs -out:bug.exe
+mono bug.exe
+
+Prints: 0
+When executed on MS/Windows, it prints 1.
+
+Note 1: I haven't tried this with Mono on Windows.
+Note 2: I do not have MONO_IOMAP set.
More information about the mono-bugs
mailing list