mallinfo.patch 370 B

123456789101112
  1. --- ./lib/mm/memlock.c.orig 2015-03-09 11:18:41.560028850 -0100
  2. +++ ./lib/mm/memlock.c 2015-03-09 11:19:54.504373309 -0100
  3. @@ -137,7 +137,7 @@
  4. static void _allocate_memory(void)
  5. {
  6. -#ifndef VALGRIND_POOL
  7. +#if !defined(VALGRIND_POOL) && defined(__GLIBC__)
  8. void *stack_mem;
  9. struct rlimit limit;
  10. int i, area = 0, missing = _size_malloc_tmp, max_areas = 32, hblks;