[RFC PATCH] realloc: Make REALLOC_ZERO_BYTES_FREES into a tunable

Paul Eggert eggert@cs.ucla.edu
Tue Oct 22 15:56:12 GMT 2024


On 2024-10-22 08:52, Siddhesh Poyarekar wrote:
> That'll still need a symbol in the program at runtime, won't it?  There 
> needs to be some way for the realloc (in libc) to decide which path to 
> go down.

Yes, it'd need a new runtime symbol, like the other feature-test macros. 
Or rather two symbols, as reallocarray is also affected.


More information about the Libc-alpha mailing list