aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-05 18:48:31 -0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2019-02-27 10:00:37 -0300
commit30a7e2081c690dbb22022e1a7d276341b7391434 (patch)
treeed9c670f923dc70d0e8cfb26b8adb095d24b0cf9 /ChangeLog
parentddf21ec79f25410bed8ab25de5a7d3003a8d03b8 (diff)
downloadglibc-30a7e2081c690dbb22022e1a7d276341b7391434.tar
glibc-30a7e2081c690dbb22022e1a7d276341b7391434.tar.gz
glibc-30a7e2081c690dbb22022e1a7d276341b7391434.tar.bz2
glibc-30a7e2081c690dbb22022e1a7d276341b7391434.zip
wcsmbs: optimize wcsncpy
This patch rewrites wcsncpy using wcsnlen, wmemset, and wmemcpy. This is similar to the optimization done on strncpy by f6482cf29d and 6423d4754c. Checked on x86_64-linux-gnu. * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and wmemcpy.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog3
1 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d51188cda9..97e70aa0cb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
+ * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
+ wmemcpy.
+
* wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
wmemcpy.