charset: fix str[n]casecmp_m() by comparing lower case values
authorStefan Metzmacher <metze@samba.org>
Wed, 6 Sep 2017 07:47:20 +0000 (09:47 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 15 Sep 2017 00:23:29 +0000 (02:23 +0200)
commit3ed9c903671e795964ce3da9d0080444ef3eb5e9
tree2c8ff2d7fde15dd3c2eb67846df3faaca7186199
parent9d99b640b9002ad6c0eb0d29a6d7adcfda870e13
charset: fix str[n]casecmp_m() by comparing lower case values

The commits c615ebed6e3d273a682806b952d543e834e5630d^..f19ab5d334e3fb15761fb009e5de876dfc6ea785
replaced Str[n]CaseCmp() by str[n]casecmp_m().

The logic we had in str[n]casecmp_w() used to compare
the upper cased as well as the lower cased versions of the
characters and returned the difference between the lower cased versions.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13018

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Sep 15 02:23:29 CEST 2017 on sn-devel-144
lib/util/charset/util_str.c
selftest/knownfail.d/strcasecmp [deleted file]