[PATCH v3 10/32] elf: Make <alloc_buffer.h> usable in ld.so
Florian Weimer
fweimer@redhat.com
Sun Feb 2 17:09:35 GMT 2025
* Joseph Myers:
> On Thu, 7 Dec 2023, Florian Weimer wrote:
>
>> __libc_alloc_buffer_create_failure used to snprintf, which is not
>> available in ld.so. The size information in the error message
>> is probably not that useful, so remove it.
>
> This makes the size argument to __libc_alloc_buffer_create_failure unused;
> the start argument was already unused. Unless there is some reason to
> have unused arguments (to look at them under a debugger, or something like
> that), which would need comments explaining the reason, I think it would
> be best to remove both unused arguments.
This is fixed in the reposted version (which merges related patches):
<https://inbox.sourceware.org/libc-alpha/87plotdzcn.fsf@oldenburg.str.redhat.com/>
I'm going to repost this again as part of a series repost, updating the
commit message.
Thanks,
Florian
More information about the Libc-alpha
mailing list