Branch: Tag:

2001-08-22

2001-08-22 14:11:00 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed some debug malloc support.

Rev: src/mapping.c:1.131
Rev: src/pike_memory.c:1.108

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.130 2001/08/09 18:53:03 mast Exp $"); + RCSID("$Id: mapping.c,v 1.131 2001/08/22 14:10:59 grubba Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
2284: Inside #if defined(DEBUG_MALLOC)
  #ifdef DEBUG_MALLOC    if (((int)m->data) == 0x55555555) {    fprintf(stderr, "** Zapped mapping in list of active mappings!\n"); -  describe_something(m, T_MAPPING, 0,2,0); +  describe_something(m, T_MAPPING, 0,2,0, NULL);    fatal("Zapped mapping in list of active mappings!\n");    }   #endif /* DEBUG_MALLOC */