debug: Remove a dependency on charconv
commit3349c566a5346ba0a3187bd424cb48fc28c57922
authorVolker Lendecke <vl@samba.org>
Tue, 29 Jul 2014 11:22:09 +0000 (29 11:22 +0000)
committerMichael Adam <obnox@samba.org>
Thu, 31 Jul 2014 16:49:46 +0000 (31 18:49 +0200)
tree3724df0896e7b94c059418b80bacef26bc9b02ef
parent222996931d5ef8661ec69f34a9a0e2f4e8a980fb
debug: Remove a dependency on charconv

util_str has:

        /* characters below 0x3F are guaranteed to not appear in
           non-initial position in multi-byte charsets */
        if ((c & 0xC0) == 0) {
                return strrchr(s, c);
        }

'/' is 0x2f, so there's no point in calling strrchr_m and thus pulling
in a whole lot of stuff

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/util/debug.c