lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 2b3ea61342c544aadfe5ea02345e4a53c889c676
parent 49af08e3e7d1b8e369567f241d06eb6933fd6518
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Mon, 29 Nov 1999 17:11:45 -0200

mistake in change for multi-state (gc threshold was not corrected)

Diffstat:
Mlstate.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lstate.c b/lstate.c @@ -1,5 +1,5 @@ /* -** $Id: lstate.c,v 1.16 1999/11/10 15:39:35 roberto Exp roberto $ +** $Id: lstate.c,v 1.17 1999/11/22 13:12:07 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -51,8 +51,8 @@ lua_State *lua_newstate (void) { luaX_init(L); luaT_init(L); luaB_predefine(L); - return L; L->GCthreshold = L->nblocks*4; + return L; }