diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-05 18:48:31 -0200 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2019-02-27 10:00:37 -0300 |
commit | 30a7e2081c690dbb22022e1a7d276341b7391434 (patch) | |
tree | ed9c670f923dc70d0e8cfb26b8adb095d24b0cf9 /ChangeLog | |
parent | ddf21ec79f25410bed8ab25de5a7d3003a8d03b8 (diff) | |
download | glibc-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-- | ChangeLog | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |