Branch: Tag:

2007-03-09

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

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

Rev: src/gc.h:1.124
Rev: src/mapping.c:1.190
Rev: src/svalue.c:1.231

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.189 2006/11/07 20:53:10 mast Exp $ + || $Id: mapping.c,v 1.190 2007/03/09 12:01:57 mast Exp $   */      #include "global.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;