I don't fully understand why it is necessary but, without this change, the MC
tests may terminate on a SIGSEGV. It is likely because some memory regions are
unmapped on fclose, and then the real memory map is different from the
informations that were read.
xbt_assert(fp,
"Cannot open /proc/self/maps to investigate the memory map of the process. Please report this bug.");
+ setbuf(fp, NULL);
+
ret = xbt_new0(s_memory_map_t, 1);
/* Read one line at the time, parse it and add it to the memory map to be returned */