From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29888 invoked by alias); 9 Sep 2015 10:21:10 -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 29818 invoked by uid 55); 9 Sep 2015 10:21:02 -0000 From: "joseph at codesourcery dot com" To: glibc-bugs@sourceware.org Subject: [Bug locale/18927] Different strings should never collate as equal Date: Wed, 09 Sep 2015 10:21: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: joseph at codesourcery 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/msg00102.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18927 --- Comment #5 from joseph at codesourcery dot com --- The POSIX issues are: http://austingroupbugs.net/view.php?id=938 http://austingroupbugs.net/view.php?id=948 http://austingroupbugs.net/view.php?id=963 The stated direction is that implementation-provided locales without an '@' modifier should provide a total ordering of all strings without different strings collating as equal. That indicates to me that for glibc this is primarily a data issue - we need to arrange for such a total ordering to be present in all installed locales, and if possible have a way to check this (e.g. a localedef option to give an error if the locale doesn't provide a total ordering, used by localedata/install-locales, or some other fairly foolproof way of making sure all glibc-provided locales have this property). But the code would still allow locales to be defined that do not provide a total ordering - glibc just wouldn't ship with such locale definitions. -- You are receiving this mail because: You are on the CC list for the bug.