Branch: Tag:

2004-09-16

2004-09-16 17:36:42 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed typos.

Rev: src/array.c:1.165

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.164 2004/09/16 17:32:09 grubba Exp $ + || $Id: array.c,v 1.165 2004/09/16 17:36:42 grubba Exp $   */      #include "global.h"
27:   #include "multiset.h"   #include "mapping.h"    - RCSID("$Id: array.c,v 1.164 2004/09/16 17:32:09 grubba Exp $"); + RCSID("$Id: array.c,v 1.165 2004/09/16 17:36:42 grubba Exp $");      PMOD_EXPORT struct array empty_array=   {
382:    }else{    struct array *ret;    -  ret = array_set_flag(allocate_array_no_init(v->size+1, (v->size >> 3) + 1), +  ret = array_set_flags(allocate_array_no_init(v->size+1, (v->size >> 3) + 1),    v->flags);    ret->type_field = v->type_field;   
2123:       if (!a->size) {    add_ref(&empty_array); -  return array_set_flag(&empty_array, a->flags & ~ARRAY_LVALUE); +  return array_set_flags(&empty_array, a->flags & ~ARRAY_LVALUE);    }       ret=allocate_array_no_init(a->size,0);