mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-05 02:38:31 +00:00
Improve redbean ctrl-d handling
This commit is contained in:
parent
c39d6111f2
commit
0dca4c5799
1 changed files with 1 additions and 1 deletions
|
@ -6995,7 +6995,7 @@ static void ReplEventLoop(void) {
|
||||||
linenoiseSetPollCallback(EventLoop);
|
linenoiseSetPollCallback(EventLoop);
|
||||||
for (;;) {
|
for (;;) {
|
||||||
if ((status = lua_loadline(L)) == -1) {
|
if ((status = lua_loadline(L)) == -1) {
|
||||||
if (errno = EINTR) {
|
if (errno == EINTR) {
|
||||||
LockInc(&shared->c.pollinterrupts);
|
LockInc(&shared->c.pollinterrupts);
|
||||||
if (terminated) {
|
if (terminated) {
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue