This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Revert __malloc_initialize_hook symbol poisoning


On 06/20/2016 11:00 AM, Andreas Schwab wrote:
fweimer@redhat.com (Florian Weimer) writes:

It turns out the Emacs-internal malloc implementation uses
__malloc_* symbols.  If glibc poisons them in <stdc-pre.h>,
Emacs will no longer compile.

Please install.  I don't think we should be in the business of poisoning
identifiers, even if they are in the implementation name space.

It is the only way to remove a symbol from the API which is used via interposition, which is why I went down this route in this case.

I would have done this for the other malloc hooks, but it would still break Emacs compatibility, so I'm just going to remove them from the header.

Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]