only disable aligned_alloc if malloc was replaced but it wasn't
authorRich Felker <dalias@aerifal.cx>
Thu, 11 Jun 2020 02:05:03 +0000 (22:05 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 11 Jun 2020 02:05:03 +0000 (22:05 -0400)
commit1fc67fc117f9d25d240d46bbef78ebccacec7097
treed1d41909b507df72419ed769f2dc5e4522e4b29a
parente9f4fd1185badfc005fcfe5c7de27d58baec057c
only disable aligned_alloc if malloc was replaced but it wasn't

it both malloc and aligned_alloc have been replaced but the internal
aligned_alloc still gets called, the replacement is a wrapper of some
sort. it's not clear if this usage should be officially supported, but
it's at least a plausibly interesting debugging usage, and easy to do.
it should not be relied upon unless it's documented as supported at
some later time.
src/malloc/oldmalloc/aligned_alloc.c