Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let's still pass the tests with mmalloc and MC in the library
[simgrid.git] / src / xbt / mmalloc / mrealloc.c
index 9ec3273..ccd837c 100644 (file)
@@ -137,13 +137,12 @@ void *realloc (void *ptr, size_t size);
    on top of it, so that if we use the default sbrk() region we will not
    collide with another malloc package trying to do the same thing, if
    the application contains any "hidden" calls to malloc/realloc/free (such
-   as inside a system library). */
+   as inside a system library).
+   FIXME: disabled for now */
 
-void *
-realloc (void *ptr, size_t size)
-{
-  void* result;
+//void * realloc (void *ptr, size_t size) {
+//  void* result;
 
-  result = mrealloc (NULL, ptr, size);
-  return (result);
-}
+//  result = mrealloc (NULL, ptr, size);
+//  return (result);
+//}