This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/18927] Different strings should never collate as equal
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 09 Sep 2015 10:21:02 +0000
- Subject: [Bug locale/18927] Different strings should never collate as equal
- Auto-submitted: auto-generated
- References: <bug-18927-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18927
--- Comment #5 from joseph at codesourcery dot com <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.