Branch: Tag:

2004-04-30

2004-04-30 17:19:42 by Martin Stjernholm <mast@lysator.liu.se>

Added stack check in replace(). Also fixed a leak that could occur if it
runs out of memory.

Rev: src/builtin_functions.c:1.546

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: builtin_functions.c,v 1.545 2004/04/30 17:19:40 mast Exp $ + || $Id: builtin_functions.c,v 1.546 2004/04/30 17:19:42 mast Exp $   */      #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.545 2004/04/30 17:19:40 mast Exp $"); + RCSID("$Id: builtin_functions.c,v 1.546 2004/04/30 17:19:42 mast Exp $");   #include "interpret.h"   #include "svalue.h"   #include "pike_macros.h"