diff options
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 | ||