From: Paul Eggert Date: Tue, 23 May 2023 19:56:40 +0000 (-0700) Subject: nstrftime: wmemmove → __wmemmove in glibc part X-Git-Tag: v1.0~1290 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=dd477fa7c7d79074b6311ac63f030cc74e3a29f3;p=gnulib.git nstrftime: wmemmove → __wmemmove in glibc part https://sourceware.org/pipermail/libc-alpha/2023-May/148435.html * lib/nstrftime.c (__strftime_internal) [COMPILE_WIDE]: Use __wmemmove, not wmemmove, to keep in better sync with draft glibc. --- diff --git a/ChangeLog b/ChangeLog index dec17652c4..d4f6d173ac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2023-05-23 Paul Eggert + + nstrftime: wmemmove → __wmemmove in glibc part + https://sourceware.org/pipermail/libc-alpha/2023-May/148435.html + * lib/nstrftime.c (__strftime_internal) [COMPILE_WIDE]: + Use __wmemmove, not wmemmove, to keep in better sync with draft glibc. + 2023-05-22 Bruno Haible git-merge-changelog: Code style changes. diff --git a/lib/nstrftime.c b/lib/nstrftime.c index 869c97f67d..c4bef575fc 100644 --- a/lib/nstrftime.c +++ b/lib/nstrftime.c @@ -1392,7 +1392,7 @@ __strftime_internal (STREAM_OR_CHAR_T *s, STRFTIME_ARG (size_t maxsize) if (len < w) { size_t delta = w - len; - wmemmove (p + delta, p, len); + __wmemmove (p + delta, p, len); wchar_t wc = pad == L_('0') || pad == L_('+') ? L'0' : L' '; wmemset (p, wc, delta); }