pike.git / src / mapping.c

version» Context lines:

pike.git/src/mapping.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.129 2001/07/02 20:09:18 mast Exp $"); + RCSID("$Id: mapping.c,v 1.130 2001/08/09 18:53:03 mast Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "pike_memory.h"   #include "dynamic_buffer.h"   #include "interpret.h"
pike.git/src/mapping.c:1801:       ret->data->flags = m->data->flags;       check_stack(2);       md=m->data;    md->valrefs++;    add_ref(md);    NEW_MAPPING_LOOP(md)    { -  copy_svalues_recursively_no_free(sp,&k->ind, 1, p); +  copy_svalues_recursively_no_free(sp,&k->ind, 1, &doing);    sp++; -  copy_svalues_recursively_no_free(sp,&k->val, 1, p); +  copy_svalues_recursively_no_free(sp,&k->val, 1, &doing);    sp++;       mapping_insert(ret, sp-2, sp-1);    pop_n_elems(2);    }    md->valrefs--;    free_mapping_data(md);       return ret;   }