chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / moria / source-signals.c.patch
1 diff --git a/source/signals.c b/source/signals.c
2 index 0deddde..4124b2e 100644
3 --- a/source/signals.c
4 +++ b/source/signals.c
5 @@ -136,7 +136,7 @@ int sig;
6      {
7        if(++signal_count > 10)  /* Be safe. We will die if persistent enough. */
8         (void) MSIGNAL(sig, SIG_DFL);
9 -      return;
10 +      return 0;
11      }
12    error_sig = sig;
13  
14 @@ -167,7 +167,7 @@ int sig;
15               if (wait_for_more)
16                 put_buffer(" -more-", MSG_LINE, 0);
17               put_qio();
18 -             return;           /* OK. We don't quit. */
19 +             return 0;         /* OK. We don't quit. */
20             }
21           (void) strcpy(died_from, "Interrupting");
22         }