diff options
Diffstat (limited to 'src/luajit.c')
-rw-r--r-- | src/luajit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luajit.c b/src/luajit.c index cc2bf710..e8024479 100644 --- a/src/luajit.c +++ b/src/luajit.c | |||
@@ -470,7 +470,7 @@ static int pmain(lua_State *L) | |||
470 | LUAJIT_VERSION_SYM(); /* linker-enforced version check */ | 470 | LUAJIT_VERSION_SYM(); /* linker-enforced version check */ |
471 | lua_gc(L, LUA_GCSTOP, 0); /* stop collector during initialization */ | 471 | lua_gc(L, LUA_GCSTOP, 0); /* stop collector during initialization */ |
472 | luaL_openlibs(L); /* open libraries */ | 472 | luaL_openlibs(L); /* open libraries */ |
473 | lua_gc(L, LUA_GCRESTART, 0); | 473 | lua_gc(L, LUA_GCRESTART, -1); |
474 | s->status = handle_luainit(L); | 474 | s->status = handle_luainit(L); |
475 | if (s->status != 0) return 0; | 475 | if (s->status != 0) return 0; |
476 | script = collectargs(argv, &has_i, &has_v, &has_e); | 476 | script = collectargs(argv, &has_i, &has_v, &has_e); |