Branch: Tag:

2006-06-21

2006-06-21 11:33:01 by Martin Stjernholm <mast@lysator.liu.se>

Fixes to make describe_value work as usual in the free pass of the gc, so
that e.g. sprintf("%O",...) behave well when called from destroy().

Rev: src/mapping.c:1.183
Rev: src/svalue.c:1.198

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