termux-packages/packages/moria/source-signals.c.patch
Oliver Schmidhauser 78c5caa196 Add moria package
As requested in #533 (fixes #533).
2021-11-27 13:00:40 +01:00

23 lines
592 B
Diff

diff --git a/source/signals.c b/source/signals.c
index 0deddde..4124b2e 100644
--- a/source/signals.c
+++ b/source/signals.c
@@ -136,7 +136,7 @@ int sig;
{
if(++signal_count > 10) /* Be safe. We will die if persistent enough. */
(void) MSIGNAL(sig, SIG_DFL);
- return;
+ return 0;
}
error_sig = sig;
@@ -167,7 +167,7 @@ int sig;
if (wait_for_more)
put_buffer(" -more-", MSG_LINE, 0);
put_qio();
- return; /* OK. We don't quit. */
+ return 0; /* OK. We don't quit. */
}
(void) strcpy(died_from, "Interrupting");
}