diff options
author | Volker Lendecke <vl@samba.org> | 2014-07-29 11:22:09 +0000 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-07-31 18:49:46 +0200 |
commit | 3349c566a5346ba0a3187bd424cb48fc28c57922 (patch) | |
tree | 3724df0896e7b94c059418b80bacef26bc9b02ef /lib/util/data_blob.h | |
parent | 222996931d5ef8661ec69f34a9a0e2f4e8a980fb (diff) | |
download | samba-3349c566a5346ba0a3187bd424cb48fc28c57922.tar.gz samba-3349c566a5346ba0a3187bd424cb48fc28c57922.tar.xz samba-3349c566a5346ba0a3187bd424cb48fc28c57922.zip |
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>
Diffstat (limited to 'lib/util/data_blob.h')
0 files changed, 0 insertions, 0 deletions