X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=uip%2Fprompter.c;h=795e4724d4966061c274ef7423606896a15ad555;hb=7fd676d57355fd26c1127a79d9ba805973928316;hp=872d7423c62a847b29a2a354fd4a072e5740708a;hpb=d45c3d28d788129428036fd7f26fa417beccd93e;p=mmh diff --git a/uip/prompter.c b/uip/prompter.c index 872d742..795e472 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -109,10 +109,10 @@ main (int argc, char **argv) snprintf (buffer, sizeof(buffer), "%s [switches] file", invo_name); print_help (buffer, switches, 1); - done (1); + done (0); case VERSIONSW: print_version(invo_name); - done (1); + done (0); case ERASESW: if (!(erasep = *argp++) || *erasep == '-') @@ -396,9 +396,7 @@ getln (char *buffer, int n) static void intrser (int i) { -#ifndef RELIABLE_SIGNALS - SIGNAL (SIGINT, intrser); -#endif + NMH_UNUSED (i); if (wtuser) longjmp (sigenv, NOTOK);