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.158 2003/02/01 15:37:23 mast Exp $ + || $Id: mapping.c,v 1.159 2003/06/02 16:35:33 mast Exp $   */      #include "global.h" - RCSID("$Id: mapping.c,v 1.158 2003/02/01 15:37:23 mast Exp $"); + RCSID("$Id: mapping.c,v 1.159 2003/06/02 16:35:33 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:1472:   {    ONERROR r1;    struct array *b_temp;    INT32 *zipper;    struct mapping *m;       if (b->size>1)    {    zipper=get_set_order(b);    b_temp=reorder_and_copy_array(b,zipper); +  free (zipper);    SET_ONERROR(r1,do_free_array,b_temp);    m=merge_mapping_array_ordered(a,b_temp,op);    UNSET_ONERROR(r1); free_array(b_temp);    }    else    m=merge_mapping_array_ordered(a,b,op);       return m;   }