s3-lib Replace StrnCaseCmp() with strncasecmp_m()
authorAndrew Bartlett <abartlet@samba.org>
Fri, 13 May 2011 18:23:36 +0000 (20:23 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 18 May 2011 14:12:08 +0000 (16:12 +0200)
commitda662b82b87cdbe07762974b1f9e825ef15951bd
treef29813bc62f28b9bb73f835828c7f6d3ecbcc872
parentc615ebed6e3d273a682806b952d543e834e5630d
s3-lib Replace StrnCaseCmp() with strncasecmp_m()

strncasecmp_m() never needs to call to talloc, and via next_codepoint()
still has an ASCII fast-path bypassing iconv() calls.

Andrew Bartlett
15 files changed:
source3/include/proto.h
source3/lib/substitute.c
source3/lib/tldap.c
source3/lib/util_str.c
source3/libsmb/libsmb_xattr.c
source3/passdb/pdb_smbpasswd.c
source3/registry/reg_api.c
source3/smbd/trans2.c
source3/utils/net_ads.c
source3/utils/net_groupmap.c
source3/utils/net_rpc.c
source3/utils/net_rpc_samsync.c
source3/utils/ntlm_auth.c
source3/winbindd/idmap_adex/cell_util.c
source3/winbindd/idmap_adex/provider_unified.c