From: Douglas Bagnall Date: Fri, 13 Sep 2024 02:21:33 +0000 (+1200) Subject: util:charset: s/the the\b/the/ in comments X-Git-Tag: tdb-1.4.13~658 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f914f53913019c89cef8e4388127513f68c324fe;p=thirdparty%2Fsamba.git util:charset: s/the the\b/the/ in comments Signed-off-by: Douglas Bagnall Reviewed-by: Volker Lendecke --- diff --git a/lib/util/charset/util_unistr.c b/lib/util/charset/util_unistr.c index c042bead4ed..8812011050b 100644 --- a/lib/util/charset/util_unistr.c +++ b/lib/util/charset/util_unistr.c @@ -187,7 +187,7 @@ _PUBLIC_ char *talloc_strdup_upper(TALLOC_CTX *ctx, const char *src) * 4. If two strings become invalid on the same character, the rest * of the string is compared via ldb ASCII case fold rules. * - * For example, "hellō\xC2\xFFworld" < " hElLŌ\xFE ", because the the + * For example, "hellō\xC2\xFFworld" < " hElLŌ\xFE ", because the * strings are equal up to 'ō' by utf-8 casefold, but the "\xc2\xff" and * "\xfe" are invalid sequences. At that point, we skip to the byte-by-byte * (but space-eating, casefolding) comparison, and 0xc2 < 0xff.