This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2] Call the right helper function when setting mallopt M_ARENA_MAX
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: libc-alpha at sourceware dot org
- Date: Sat, 1 Apr 2017 12:40:15 +0530
- Subject: Re: [PATCH v2] Call the right helper function when setting mallopt M_ARENA_MAX
- Authentication-results: sourceware.org; auth=none
- References: <20170331075517.GA30779@amethyst.visucore.com>
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