Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
This commit 590f9c7e65ce6a64705272d79443599877d5cb72 add a segfault to compilation.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 18 May 2010 07:44:01 +0000 (07:44 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 18 May 2010 07:44:01 +0000 (07:44 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7762 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/mmalloc/mm_legacy.c

index 103d93d..f360550 100644 (file)
@@ -17,7 +17,7 @@ void mmalloc_set_current_heap(void *new_heap) {
   __mmalloc_current_heap=new_heap;
 }
 
   __mmalloc_current_heap=new_heap;
 }
 
-#define MMALLOC_WANT_OVERIDE_LEGACY /* comment this when stuff goes horribly bad around memory allocation */
+//#define MMALLOC_WANT_OVERIDE_LEGACY /* comment this when stuff goes horribly bad around memory allocation */
 #ifdef MMALLOC_WANT_OVERIDE_LEGACY
 void *malloc(size_t n) {
   void *ret = mmalloc(__mmalloc_current_heap, n);
 #ifdef MMALLOC_WANT_OVERIDE_LEGACY
 void *malloc(size_t n) {
   void *ret = mmalloc(__mmalloc_current_heap, n);