From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 426 invoked by alias); 9 Sep 2015 11:10:58 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 327 invoked by uid 48); 9 Sep 2015 11:10:49 -0000 From: "egmont at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug locale/18927] Different strings should never collate as equal Date: Wed, 09 Sep 2015 11:10:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: locale X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: egmont at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-09/txt/msg00103.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18927 --- Comment #6 from Egmont Koblinger --- Joseph, thanks a lot for your research and the pointers! Tests in "make tests" checking for the data is indeed another possible approach. It'd have the advantage that it points locale maintainers to actual ambiguous cases and let them explicitly decide on the ordering, rather than this remaining unnoticed and caught silently by the safeguard code. It'd have some disadvantage on the other hand: - Probably several current locales would fail this test; who would fix them? - It would probably not catch bugs introduced by custom downstream patches to locales (unless of course downstream packager runs "make tests"). - Sounds magnitudes harder for me to implement than my proposal; actually I have no idea at this moment how to approach this problem. (E.g. for hu_HU I _hope_ that I came up with a total ordering, but I'm not entirely certain.) It sounds like kind of an automated mathematical proof for a rather complex question. That being said, I'd be fine with either approach. -- You are receiving this mail because: You are on the CC list for the bug.