mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Revert __malloc_initialize_hook symbol poisoning
It turns out the Emacs-internal malloc implementation uses __malloc_* symbols. If glibc poisons them in <stdc-pre.h>, Emacs will no longer compile.
This commit is contained in:
@ -341,7 +341,7 @@ ptmalloc_init (void)
|
||||
__malloc_check_init ();
|
||||
}
|
||||
#if HAVE_MALLOC_INIT_HOOK
|
||||
void (*hook) (void) = atomic_forced_read (old__malloc_initialize_hook);
|
||||
void (*hook) (void) = atomic_forced_read (__malloc_initialize_hook);
|
||||
if (hook != NULL)
|
||||
(*hook)();
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user