2001-06-27
2001-06-27 00:01:32 by Martin Stjernholm <mast@lysator.liu.se>
-
b2764a02bab80581e802ab1406618eb9eb2b88f0
(4 lines)
(+2/-2)
[
Show
| Annotate
]
Branch: 7.9
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");