summaryrefslogtreecommitdiff
path: root/iconvdata/bug-iconv5.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2017-02-16 16:21:03 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2018-10-02 15:32:35 +0000
commitdf07959c3721e083e10aaa4c3c1b9a483f9955fa (patch)
tree73cfc5fdb227c6aafd6ea51ed97cf9a4c77c7273 /iconvdata/bug-iconv5.c
parentbdd041c15306e91a9cc4d26975e73a7a7d84742b (diff)
downloadglibc-df07959c3721e083e10aaa4c3c1b9a483f9955fa.tar.gz
string: Improve generic strnlen
With an optimized memchr, new strnlen implementation basically calls memchr and adjust the result pointer value. It also cleanups the multiple inclusion by leaving the ifunc implementation to undef the weak_alias and libc_hidden_def. Richard Henderson <rth@twiddle.net> Adhemerval Zanella <adhemerval.zanella@linaro.org> [BZ #5806] * string/strnlen.c: Rewrite in terms of memchr. * sysdeps/i386/i686/multiarch/strnlen-c.c: Redefine weak_alias and libc_hidden_def. * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: Likewise. * sysdeps/s390/multiarch/strnlen-c.c: Likewise.
Diffstat (limited to 'iconvdata/bug-iconv5.c')
0 files changed, 0 insertions, 0 deletions