Skip to content

Commit

Permalink
* malloc/arena.c [!NO_THREADS]: Use ATFORK_MEM if defined.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Oct 28, 2007
1 parent 8ad343b commit 666aa02
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 4 additions & 0 deletions malloc/arena.c
Original file line number Diff line number Diff line change
Expand Up @@ -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. */

Expand Down

0 comments on commit 666aa02

Please sign in to comment.