strcasecmp_m() in source3
Andrew Bartlett
abartlet at samba.org
Mon May 16 08:53:04 MDT 2011
Jeremy,
We discussed my proposal to move the source3 code to always using the
codepoints base strcasecmp_m() code (which never allocates, and has an
ASCII fast path). Attached are two patches that do that.
What do you think?
If you want more tests, I am looking to revive the currently unsued
comfychair based python tests for this code, but the strcasecmp_m
function is already the basis for the source4 code, has tests, and is
well tested in that use.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-lib-Replace-StrCaseCmp-with-strcasecmp_m.patch
Type: text/x-patch
Size: 63229 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110517/899fd668/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s3-lib-Replace-StrnCaseCmp-with-strncasecmp_m.patch
Type: text/x-patch
Size: 30174 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20110517/899fd668/attachment-0001.bin>
More information about the samba-technical
mailing list