[PATCH v1.1] Deprecate malloc_(sg)et state.

Joseph S. Myers joseph@codesourcery.com
Mon Mar 24 12:42:00 GMT 2014


On Mon, 24 Mar 2014, Ondrej Bilka wrote:

> 	* malloc/malloc.c: Make malloc_get_state and malloc_set_state
> 	compatibility symbols.
> 	* malloc/tst-mallocstate.c: Remove.

This doesn't seem like a complete patch.  The definitions of these 
functions in hooks.c shouldn't be built at all unless SHLIB_COMPAT (libc, 
GLIBC_2_0, GLIBC_2_20) - if they're built, they're wrongly available for 
static linking.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list