From b5563937fe21a176f07b2aa3c305c51e89b849ea Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 12 Jun 2014 11:30:31 +0200 Subject: [PATCH 1/1] Increase size of junk area to 32 KiB in mm_legacy.c. It is apparently needed when running Fortran tests through tesh.pl. --- src/xbt/mmalloc/mm_legacy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xbt/mmalloc/mm_legacy.c b/src/xbt/mmalloc/mm_legacy.c index 5fbdb042f7..3c8e30178c 100644 --- a/src/xbt/mmalloc/mm_legacy.c +++ b/src/xbt/mmalloc/mm_legacy.c @@ -57,7 +57,7 @@ static void mm_gnuld_legacy_init(void) { /* This function is called from mmalloc */ static int allocated_junk = 0; /* keep track of many blocks of our little area was already given to someone */ #define JUNK_SIZE 8 -#define MAX_JUNK_AREAS (3*4096/JUNK_SIZE) +#define MAX_JUNK_AREAS (32 * 1024 / JUNK_SIZE) static char junkareas[MAX_JUNK_AREAS][JUNK_SIZE]; /* This version use mmalloc if there is a current heap, or the legacy implem if not */ -- 2.20.1