lib:util: codepoint_cmpi: be transitive and case-insensitive
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 13 Apr 2024 05:53:24 +0000 (17:53 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 7 May 2024 23:25:35 +0000 (23:25 +0000)
commit13af2cb02171c0f10133813746e2f938ae2e304d
treee7817225dcff6a64d56670a0bb81c2ce1f94ba75
parent310d59c7cc38f82e2906c4a5c80db140ad2a1548
lib:util: codepoint_cmpi: be transitive and case-insensitive

the less/greater conparisons were not case-sensitive, which made the whole
function non-transitive.

I think codepoint_cmpi() is currently only used for equality tests, so
nothing will change.

Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
lib/util/charset/codepoints.c
selftest/knownfail.d/codepoint_cmpi [deleted file]