mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-07 19:58:30 +00:00
Fix MODE=tinylinux build
This commit is contained in:
parent
4bcb107cb0
commit
0e0398cd5d
2 changed files with 10 additions and 3 deletions
|
@ -4823,6 +4823,7 @@ static int LuaBlackhole(lua_State *L) {
|
|||
wontreturn static void Replenisher(void) {
|
||||
struct timespec ts;
|
||||
VERBOSEF("(token) replenish worker started");
|
||||
strace_enabled(-1);
|
||||
signal(SIGINT, OnTerm);
|
||||
signal(SIGHUP, OnTerm);
|
||||
signal(SIGTERM, OnTerm);
|
||||
|
@ -7149,7 +7150,7 @@ static void ReplEventLoop(void) {
|
|||
lua_repl_completions_callback = HandleCompletions;
|
||||
lua_initrepl(L);
|
||||
EnableRawMode();
|
||||
EventLoop(100);
|
||||
EventLoop(-1);
|
||||
DisableRawMode();
|
||||
lua_freerepl();
|
||||
lua_settop(L, 0); // clear stack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue