Branch: Tag:

2007-03-09

2007-03-09 12:01:56 by Martin Stjernholm <mast@lysator.liu.se>

Fixed some checks for when we really are doing a gc.

Rev: src/gc.h:1.117
Rev: src/mapping.c:1.184
Rev: src/svalue.c:1.199

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: mapping.c,v 1.183 2006/06/21 11:33:01 mast Exp $ + || $Id: mapping.c,v 1.184 2007/03/09 12:01:56 mast Exp $   */      #include "global.h" - RCSID("$Id: mapping.c,v 1.183 2006/06/21 11:33:01 mast Exp $"); + RCSID("$Id: mapping.c,v 1.184 2007/03/09 12:01:56 mast Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
1891:    }    }    -  if (Pike_in_gc && Pike_in_gc < GC_PASS_FREE) { +  if (Pike_in_gc > GC_PASS_PREPARE && Pike_in_gc < GC_PASS_FREE) {    /* Have to do without any temporary allocations. */    struct keypair *k;    int notfirst = 0;