strerrorname_np: New module.
commit4041bb7cb24874ac7c4c927775666df6b59a5479
authorBruno Haible <bruno@clisp.org>
Sun, 30 Aug 2020 20:19:05 +0000 (30 22:19 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 30 Aug 2020 20:19:05 +0000 (30 22:19 +0200)
treef77e17cdd89609397b35fb5372ba44e8ba9d17cb
parent175e0bc72808d564074c4adcc72aeadb74adfcc6
strerrorname_np: New module.

* lib/string.in.h (strerrorname_np): New declaration.
* lib/strerrorname_np.c: New file.
* m4/strerrorname_np.m4: New file.
* m4/string_h.m4 (gl_HEADER_STRING_H_BODY): Test whether strerrorname_np
is declared.
(gl_HEADER_STRING_H_DEFAULTS): Initialize GNULIB_STRERRORNAME_NP,
HAVE_STRERRORNAME_NP, REPLACE_STRERRORNAME_NP.
* modules/string (Makefile.am): Substitute GNULIB_STRERRORNAME_NP,
HAVE_STRERRORNAME_NP, REPLACE_STRERRORNAME_NP.
* modules/strerrorname_np: New file.
* tests/test-string-c++.cc: Verify the signature of strerrorname_np.
* doc/glibc-functions/strerrorname_np.texi: Mention the new module and
the glibc 2.32 bug.
ChangeLog
doc/glibc-functions/strerrorname_np.texi
lib/strerrorname_np.c [new file with mode: 0644]
lib/string.in.h
m4/strerrorname_np.m4 [new file with mode: 0644]
m4/string_h.m4
modules/strerrorname_np [new file with mode: 0644]
modules/string
tests/test-string-c++.cc