X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=uip%2Fprompter.c;h=6db0455a58024838d6412c3ea06fbe84da78d753;hp=a398832e1ad52576aa1ba41fc91a5d4cd78bee07;hb=32b2354dbaf4bf934936eb5b102a4a3d2fdd209a;hpb=7e421e1fd5cf1c4ce33edc005fa63784d9c5a2e6 diff --git a/uip/prompter.c b/uip/prompter.c index a398832..6db0455 100644 --- a/uip/prompter.c +++ b/uip/prompter.c @@ -47,7 +47,7 @@ static struct swit switches[] = { #define NDOTSW 9 { "nodoteof", 0 }, #define VERSIONSW 10 - { "version", 0 }, + { "Version", 0 }, #define HELPSW 11 { "help", 0 }, { NULL, 0 } @@ -69,7 +69,7 @@ static jmp_buf sigenv; int getln(char *, int); static int chrcnv(char *); static void chrdsp(char *, char); -static RETSIGTYPE intrser(int); +static void intrser(int); int @@ -394,13 +394,9 @@ getln(char *buffer, int n) } -static RETSIGTYPE +static void intrser(int i) { -#ifndef RELIABLE_SIGNALS - SIGNAL(SIGINT, intrser); -#endif - if (wtuser) longjmp(sigenv, NOTOK); sigint++;