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.38 2001/07/03 02:41:50 david%hedbor.org Exp $"); + RCSID("$Id: mapping.c,v 1.39 2001/08/09 18:52:59 mast Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "language.h"   #include "error.h"   #include "pike_memory.h"   #include "dynamic_buffer.h"
pike.git/src/mapping.c:868:    }    }       ret=allocate_mapping(MAP_SLOTS(m->size));    doing.pointer_b=ret;       check_stack(2);       MAPPING_LOOP(m)    { -  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);    }       return ret;   }