commit | c2afb860f297eb82039d821bd25bdd3cf66abe28 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Sep 16 09:18:21 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Sep 16 09:20:16 2021 +0200 |
tree | 4da219d36ce5483259566a4912e076de743d8f69 | |
parent | a096155e0868bf92dc05b8840aeb555fcf7181b1 [diff] |
MINOR: pools: use mallinfo2() when available instead of mallinfo() Ilya reported in issue #1391 a build warning on Fedora about mallinfo() being deprecated in favor of mallinfo2() since glibc-2.33. Let's add support for it. This should be backported where the following commit is also backported: 157e39303 ("MINOR: pools: automatically disable malloc_trim() with external allocators").