[Mono-bugs] [Bug 70478][Maj] New - String.Compare("HIJ", "hij", false) gives wrong result

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 11 Dec 2004 19:04:23 -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 bmaurer@users.sf.net.

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

--- shadow/70478	2004-12-11 19:04:23.000000000 -0500
+++ shadow/70478.tmp.20861	2004-12-11 19:04:23.000000000 -0500
@@ -0,0 +1,37 @@
+Bug#: 70478
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: String.Compare("HIJ", "hij", false) gives wrong result
+
+[benm@omega benm]$ cat t.cs
+using System;
+  
+class X {
+        static void Main ()
+        {
+              Console.WriteLine (String.Compare("HIJ", "hij", false));
+        }
+}
+[benm@omega benm]$ mcs t.cs
+[benm@omega benm]$ mono t.exe
+-1
+
+On MSFT:
+
+C:\Inetpub\ftproot>t
+1
+
+C:\Inetpub\ftproot>