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.108 2000/09/30 15:58:30 mast Exp $"); + RCSID("$Id: mapping.c,v 1.109 2000/10/09 23:58:49 hubbe Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"   #include "svalue.h"   #include "array.h"   #include "pike_macros.h"   #include "error.h"   #include "pike_memory.h"   #include "dynamic_buffer.h"   #include "interpret.h"
pike.git/src/mapping.c:1457:       d=0;       for(;d<args;d++)    {    struct mapping *m=argp[d].u.mapping;    struct mapping_data *md=m->data;       if(md->size == 0) continue;    -  if(!(md->flags && MAPPING_FLAG_WEAK)) +  if(!(md->flags & MAPPING_FLAG_WEAK))    {   #if 1 /* major optimization */    if(e==md->size)    return copy_mapping(m);   #endif       if(m->refs == 1 && !md->hardlinks)    {    add_ref( ret=m );    d++;