Branch: Tag:

2001-06-27

2001-06-27 00:01:32 by Martin Stjernholm <mast@lysator.liu.se>

Fixed bogus touching of the "lesser" mapping_data struct which could cause
false alarms when running with gc self-tests.

Rev: src/mapping.c:1.126
Rev: src/testsuite.in:1.428

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.125 2001/06/26 21:03:50 hubbe Exp $"); + RCSID("$Id: mapping.c,v 1.126 2001/06/27 00:01:31 mast Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
2262: Inside #if defined(PIKE_DEBUG)
   fatal("Error in mapping link list.\n");    for (m = first_mapping; m; m = m->next) {    debug_gc_touch(m); -  debug_gc_touch(m->data); +     n++;    if (m->next && m->next->prev != m)    fatal("Error in mapping link list.\n");