This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


https://sourceware.org/bugzilla/show_bug.cgi?id=18927

--- Comment #6 from Egmont Koblinger <egmont at gmail dot com> ---
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]