vlistptr2->internal=vlist2internal;//the question who's responsible to destroy the vlist is tied to its containing memory region, so we retain this flag
vlistptr2->immutable=0;//this is a copy, so it's mutable, independent of whether the original is mutable or not
vlistptr2->keys.nelems=0;
for(inti=0;i<MAX_KEYS;++i)
vlistptr2->keys.value[i].length=0;
vlistptr2->atts.nelems=0;
vlistptr2->self=vlistID2;
}
...
...
@@ -347,7 +343,9 @@ void vlistCopy(int vlistID2, int vlistID1)