Subject: Re: bug#36649: 27.0.50; pure space and pdumper

From: Paul Eggert <[email-masked]>
Date: Wed, 19 May 2021 10:29:06 -0700

On 5/19/21 8:11 AM, Eli Zaretskii wrote:
> Paul, if this kludge annoys you enough (I hope it will), please
> suggest a cleaner way out of this conundrum.

configure.ac can define a macro that tells gmalloc.c about the kludge 
situation, and gmalloc.c can refer to that macro to decide whether to 
call rpl_free instead of plain 'free'.

Also, make sure that hybrid_free preserves errno.

Without these fixes some Gnulib code will possibly stop working, since 
the rest of Gnulib assumes 'free' preserves errno.