[Mono-bugs] [Bug 78748][Nor] Changed - broken string comparison and/or sorted generic dictionaries

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Aug 20 09:39:13 EDT 2006


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 peter.dettman at iinet.net.au.

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

--- shadow/78748	2006-08-20 09:32:25.000000000 -0400
+++ shadow/78748.tmp.3268	2006-08-20 09:39:13.000000000 -0400
@@ -1,22 +1,21 @@
 Bug#: 78748
 Product: Mono: Class Libraries
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: CORLIB
 AssignedTo: mono-bugs at ximian.com                            
 ReportedBy: bcs26 at cornell.edu               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
 URL: 
-Cc: 
 Summary: broken string comparison and/or sorted generic dictionaries
 
 The attached test cases (C5TreeDict.cs and SCGDict.cs) are very simple
 programs that perform several basic operations on a dictionary of strings
 (C5.TreeDictionary and SCG.SortedDictionary, respectively), and then
 attempt to look up one of the values mapped in the dictionary. The value
@@ -52,6 +51,17 @@
 
 
 ------- Additional Comments From peter.dettman at iinet.net.au  2006-08-20 09:32 -------
 Created an attachment (id=17483)
 Simplified test for broken string comparison
 
+
+------- Additional Comments From peter.dettman at iinet.net.au  2006-08-20 09:39 -------
+The above test confirms this problem is due to a broken string comparison.
+
+In my build I have fixed this by reverting to the "stable easy
+version" of string comparison in:
+    mcs/class/corlib/Mono.Globalization.Unicode/SimpleCollator.cs
+
+(Search for "stable easy" and change '#if false' to '#if true')
+
+


More information about the mono-bugs mailing list