Branch: Tag:

2004-08-20

2004-08-20 01:39:03 by Martin Nilsson <mani@lysator.liu.se>

Wrong number of arguments to low_mapping_insert. This might be the right fix.

Rev: src/array.c:1.162

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: array.c,v 1.161 2004/08/19 23:02:29 nilsson Exp $ + || $Id: array.c,v 1.162 2004/08/20 01:39:03 nilsson Exp $   */      #include "global.h"
25:   #include "bignum.h"   #include "cyclic.h"   #include "multiset.h" + #include "mapping.h"    - RCSID("$Id: array.c,v 1.161 2004/08/19 23:02:29 nilsson Exp $"); + RCSID("$Id: array.c,v 1.162 2004/08/20 01:39:03 nilsson Exp $");      PMOD_EXPORT struct array empty_array=   {
2117:    bb.type = T_ARRAY;    bb.subtype = 0;    bb.u.array = ret; -  low_mapping_insert(m, &aa, &bb); +  low_mapping_insert(m, &aa, &bb, 1);       ret->flags = a->flags & ~ARRAY_LVALUE;