]> Savannah Git Hosting - gnulib.git/commit
string: Avoid syntax error re strdup in string.in.h (regr. 2021-09-07).
authorBruno Haible <bruno@clisp.org>
Sun, 24 Oct 2021 22:34:24 +0000 (00:34 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 24 Oct 2021 22:46:12 +0000 (00:46 +0200)
commitcc91160a1ea5e18fcb2ccadb32e857d365581f53
treea2e461b29076fe84455796786cac2a49d2b32ea9
parent6c8f5c2e536d04987afa6f975caedb2339dedfc3
string: Avoid syntax error re strdup in string.in.h (regr. 2021-09-07).

Reported by Jan Engelhardt <jengelh@inai.de>
and by Arash Esbati <arash@gnu.org> via Andy Moreton in
<https://lists.gnu.org/archive/html/bug-gnulib/2021-10/msg00058.html>.

* lib/string.in.h (_GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_DEALLOC_FREE,
_GL_ATTRIBUTE_MALLOC): Add fallback declarations, like in
lib/stdlib.in.h.
* lib/wchar.in.h (_GL_ATTRIBUTE_DEALLOC, _GL_ATTRIBUTE_DEALLOC_FREE,
_GL_ATTRIBUTE_MALLOC): Likewise.
ChangeLog
lib/string.in.h
lib/wchar.in.h