* malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined.
authorUlrich Drepper <drepper@redhat.com>
Sun, 28 Oct 2007 00:59:34 +0000 (00:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 28 Oct 2007 00:59:34 +0000 (00:59 +0000)
ChangeLog
malloc/arena.c

index 97c86fe..7bee03e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-10-27  Ulrich Drepper  <drepper@redhat.com>
+
+       * malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined.
+
 2007-10-26  Ulrich Drepper  <drepper@redhat.com>
 
        * nscd/cache.c (prune_cache): Move test for modified file outside
index ce64335..4cbb4dc 100644 (file)
@@ -160,6 +160,10 @@ static void           (*save_free_hook) (__malloc_ptr_t __ptr,
                                         __const __malloc_ptr_t);
 static Void_t*        save_arena;
 
+#ifdef ATFORK_MEM
+ATFORK_MEM;
+#endif
+
 /* Magic value for the thread-specific arena pointer when
    malloc_atfork() is in use.  */