[PATCH] malloc: add indirection for malloc(-like) functions in tests [BZ #32366]
Paul Eggert
eggert@cs.ucla.edu
Tue Dec 10 00:31:55 GMT 2024
On 2024-12-09 16:25, Sam James wrote:
> This is because test-skeleton.c is included at the end of each test
> which includes support.h after, which does:
>
> char *xasprintf (const char *format, ...)
> __attribute__ ((format (printf, 1, 2), malloc)) __attr_dealloc_free
> __returns_nonnull;
>
> Do you have any idea for working around that
Change "malloc" to "__malloc__" in support.h's uses of "__attribute__".
More information about the Libc-alpha
mailing list