wmempcpy: New module.
commit68935ae95b339a42ee955be00aa7921bd37916ba
authorBruno Haible <bruno@clisp.org>
Sun, 31 May 2020 00:42:47 +0000 (31 02:42 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 31 May 2020 00:47:49 +0000 (31 02:47 +0200)
tree9d26d2f3df63206eb260b2fe76c89abfab69278f
parentde5cbc0daf6a405207b4f012c0617c26fc102960
wmempcpy: New module.

Reported by Paul Eggert in
<https://lists.gnu.org/archive/html/bug-gnulib/2020-05/msg00387.html>.

* lib/wchar.in.h (wmempcpy): New declaration.
* lib/wmempcpy.c: New file.
* m4/wmempcpy.m4: New file.
* m4/wchar_h.m4 (gl_WCHAR_H): Test whether wmempcpy is declared.
(gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WMEMPCPY, HAVE_WMEMPCPY.
* modules/wchar (Makefile.am): Substitute GNULIB_WMEMPCPY,
HAVE_WMEMPCPY.
* modules/wmempcpy: New file.
* tests/test-wchar-c++.cc: Check the signature of wmempcpy.
* doc/glibc-functions/wmempcpy.texi: Mention the new module.
* modules/mempcpy (Description): Fix typo.
ChangeLog
doc/glibc-functions/wmempcpy.texi
lib/wchar.in.h
lib/wmempcpy.c [new file with mode: 0644]
m4/wchar_h.m4
m4/wmempcpy.m4 [new file with mode: 0644]
modules/mempcpy
modules/wchar
modules/wmempcpy [new file with mode: 0644]
tests/test-wchar-c++.cc