Branch: Tag:

2002-10-11

2002-10-11 13:18:09 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fix for running with dmalloc on systems where th_atfork() uses callbacks.

Rev: src/main.c:1.157
Rev: src/pike_memory.c:1.125

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: main.c,v 1.156 2002/10/11 01:39:33 nilsson Exp $ + || $Id: main.c,v 1.157 2002/10/11 13:18:09 grubba Exp $   */      #include "global.h" - RCSID("$Id: main.c,v 1.156 2002/10/11 01:39:33 nilsson Exp $"); + RCSID("$Id: main.c,v 1.157 2002/10/11 13:18:09 grubba Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
242:    init_pike_frame_blocks();    init_node_s_blocks();    init_object_blocks(); + #ifndef DEBUG_MALLOC +  /* This has already been done by initialize_dmalloc(). */    init_callback_blocks(); -  + #endif /* !DEBUG_MALLOC */   #ifdef PIKE_NEW_MULTISETS    init_multiset();   #endif