[PATCH v2] Call the right helper function when setting mallopt M_ARENA_MAX

Siddhesh Poyarekar siddhesh@gotplt.org
Sat Apr 1 07:10:00 GMT 2017


On Friday 31 March 2017 01:25 PM, Wladimir J. van der Laan wrote:
> Fixes a typo introduced in commit
> be7991c0705e35b4d70a419d117addcd6c627319. This caused
> mallopt(M_ARENA_MAX) as well as the environment variable
> MALLOC_ARENA_MAX to not work as intended because it set the
> wrong internal parameter.
> 
>  	[BZ# 21338]
> 	* malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
> 	instead of incorrect do_set_arena_test

Thanks for catching this, I've pushed it.

Siddhesh



More information about the Libc-alpha mailing list