From 757224427f0330db9bc87b98cbed5bbea6781d4e Mon Sep 17 00:00:00 2001 From: Martin Nilsson <mani@lysator.liu.se> Date: Sun, 27 Oct 2002 17:31:46 +0100 Subject: [PATCH] A fresh Pike has 252 constants, so an initial size of 252 entries makes sense. Rev: src/constants.c:1.43 --- src/constants.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/constants.c b/src/constants.c index 9f8dbf7e0e..edf32dbeaf 100644 --- a/src/constants.c +++ b/src/constants.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: constants.c,v 1.42 2002/10/11 01:39:30 nilsson Exp $ +|| $Id: constants.c,v 1.43 2002/10/27 16:31:46 nilsson Exp $ */ #include "global.h" @@ -18,7 +18,7 @@ #include "security.h" #include "block_alloc.h" -RCSID("$Id: constants.c,v 1.42 2002/10/11 01:39:30 nilsson Exp $"); +RCSID("$Id: constants.c,v 1.43 2002/10/27 16:31:46 nilsson Exp $"); struct mapping *builtin_constants = 0; @@ -185,7 +185,7 @@ void present_constant_profiling(void) void init_builtin_constants(void) { - builtin_constants = allocate_mapping(20); + builtin_constants = allocate_mapping(252); } void cleanup_added_efuns(void) -- GitLab