From 42224ca5538293f2b4a217e813bc437ca673b3cf Mon Sep 17 00:00:00 2001
From: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Fri, 2 Feb 2001 14:23:20 -0200
Subject: loop of 'dostring' may never reclaim memory

---
 lgc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'lgc.c')

diff --git a/lgc.c b/lgc.c
index d980d8e8..48a022e9 100644
--- a/lgc.c
+++ b/lgc.c
@@ -1,5 +1,5 @@
 /*
-** $Id: lgc.c,v 1.84 2001/02/01 17:40:48 roberto Exp roberto $
+** $Id: lgc.c,v 1.85 2001/02/02 15:13:05 roberto Exp roberto $
 ** Garbage Collector
 ** See Copyright Notice in lua.h
 */
@@ -375,7 +375,7 @@ void luaC_collect (lua_State *L, int all) {
 }
 
 
-static void luaC_collectgarbage (lua_State *L) {
+void luaC_collectgarbage (lua_State *L) {
   markall(L);
   invalidaterefs(G(L));  /* check unlocked references */
   luaC_collect(L, 0);
-- 
cgit v1.2.3-55-g6feb