pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:1:   /*   || 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.214 2009/11/28 13:36:20 mast Exp $ + || $Id: mapping.c,v 1.215 2010/02/21 22:42:19 srb Exp $   */      #include "global.h"   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "pike_error.h"
pike.git/src/mapping.c:2289: Inside #if defined(PIKE_DEBUG)
   Pike_fatal("Mapping data block has zero refs.\n");       if(m->next && m->next->prev != m)    Pike_fatal("Mapping ->next->prev != mapping.\n");      #ifdef MAPPING_SIZE_DEBUG    if(m->debug_size != md->size)    {    if(Pike_in_gc)    { -  fprintf(stderr,"Pike was in GC stage %d when this fatal occured:\n",Pike_in_gc); +  fprintf(stderr,"Pike was in GC stage %d when this fatal occurred:\n",Pike_in_gc);    Pike_in_gc=0;    }       fprintf(stderr,"--MAPPING ZAPPING (%d!=%d), mapping:\n",m->debug_size,md->size);    describe(m);    fprintf(stderr,"--MAPPING ZAPPING (%d!=%d), mapping data:\n",m->debug_size,md->size);    describe(md);    Pike_fatal("Mapping zapping detected (%d != %d)!\n",m->debug_size,md->size);    }   #endif