summaryrefslogtreecommitdiff
path: root/liolib.c
diff options
context:
space:
mode:
Diffstat (limited to 'liolib.c')
-rw-r--r--liolib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/liolib.c b/liolib.c
index 6693df33..4ef4c439 100644
--- a/liolib.c
+++ b/liolib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: liolib.c,v 1.89 2000/10/26 12:53:55 roberto Exp roberto $ 2** $Id: liolib.c,v 1.90 2000/10/27 16:15:53 roberto Exp roberto $
3** Standard I/O (and system) library 3** Standard I/O (and system) library
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -708,7 +708,6 @@ static void openwithcontrol (lua_State *L) {
708 /* close files when collected */ 708 /* close files when collected */
709 lua_pushcclosure(L, file_collect, 1); /* pops `ctrl' from stack */ 709 lua_pushcclosure(L, file_collect, 1); /* pops `ctrl' from stack */
710 lua_settagmethod(L, ctrl->iotag, "gc"); 710 lua_settagmethod(L, ctrl->iotag, "gc");
711 lua_pop(L, 1); /* remove tag method returned by previous call */
712} 711}
713 712
714 713