about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-05 17:34:21 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-27 10:00:38 -0300
commit39ef07441910c2d2f8c02579e808862194b9a23b (patch)
tree34c8d7a478ab0ad6b8f106b0686a701e8ed355a9 /ChangeLog
parent7b3fb620519f6887b2650cc8e0e3267e44914c7b (diff)
downloadglibc-39ef07441910c2d2f8c02579e808862194b9a23b.tar.gz
glibc-39ef07441910c2d2f8c02579e808862194b9a23b.tar.xz
glibc-39ef07441910c2d2f8c02579e808862194b9a23b.zip
wcsmbs: optimize wcpncpy
This patch rewrites wcpncpy using wcslen, wmemcpy, and wmemset.  This is
similar to the optimization done on stpncpy by 48497aba8e.

Checked on x86_64-linux-gnu.

        * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
	wmemset.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e0b69d20d..5ff8f8af43 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2019-02-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
 
+	* wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
+	wmemset.
+
 	* sysdeps/m68k/wcpcpy.c: Remove file.
 	* wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.