diff --git a/src/mapping.c b/src/mapping.c index a1c115f96f81b9de0a30a2693b87ff1c4147f986..87de530b5c0c00967c39c5317ba189eef444d2bc 100644 --- a/src/mapping.c +++ b/src/mapping.c @@ -2,7 +2,7 @@ || 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.209 2008/06/29 08:57:03 grubba Exp $ +|| $Id: mapping.c,v 1.210 2008/06/29 08:58:30 grubba Exp $ */ #include "global.h" @@ -1421,6 +1421,7 @@ PMOD_EXPORT struct mapping *copy_mapping(struct mapping *m) #endif +/* copy_mapping() for when destructive operations are ok. */ static struct mapping *destructive_copy_mapping(struct mapping *m) { if ((m->refs == 1) && !m->data->hardlinks &&