[Bug locale/18927] Different strings should never collate as equal

joseph at codesourcery dot com sourceware-bugzilla@sourceware.org
Wed Sep 9 10:21:00 GMT 2015


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.



More information about the Glibc-bugs mailing list