diff options
Diffstat (limited to '')
| -rw-r--r-- | liolib.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: liolib.c,v 1.18 1998/05/20 22:21:35 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 1.19 1998/06/02 21:20:54 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 | */ |
| @@ -427,7 +427,7 @@ static void openwithtags (void) | |||
| 427 | /* put both tags as upvalues for these functions */ | 427 | /* put both tags as upvalues for these functions */ |
| 428 | lua_pushnumber(iotag); | 428 | lua_pushnumber(iotag); |
| 429 | lua_pushnumber(closedtag); | 429 | lua_pushnumber(closedtag); |
| 430 | lua_pushCclosure(iolibtag[i].func, 2); | 430 | lua_pushcclosure(iolibtag[i].func, 2); |
| 431 | lua_setglobal(iolibtag[i].name); | 431 | lua_setglobal(iolibtag[i].name); |
| 432 | } | 432 | } |
| 433 | setfile(stdin, FINPUT, iotag); | 433 | setfile(stdin, FINPUT, iotag); |
