[Mono-bugs] [Bug 54046][Maj] New - String.Compare broken on Mono 0.30/Windows
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 8 Feb 2004 13:41:30 -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 gert.driesen@pandora.be.
http://bugzilla.ximian.com/show_bug.cgi?id=54046
--- shadow/54046 2004-02-08 13:41:30.000000000 -0500
+++ shadow/54046.tmp.14320 2004-02-08 13:41:30.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 54046
+Product: Mono/Class Libraries
+Version: unspecified
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: gert.driesen@pandora.be
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: String.Compare broken on Mono 0.30/Windows
+
+Apparently String.Compare is broken badly on Mono 0.30/Windows.
+
+For example, the following code fragment outputs 0 on Mono/Windows :
+
+Console.WriteLine(String.Compare("-", "/", true));
+
+Actual result : 0
+
+Expected result : -1
+
+I attached a (very small) class that allows you to reproduce this issue on
+Windows.