From 89a33fffb6ae9427968a72930ed3108b9dbceb83 Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Mon, 2 Jun 2008 17:04:03 +0000 Subject: [PATCH] latest version --- WEGA/src/cmd/verify.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/WEGA/src/cmd/verify.c b/WEGA/src/cmd/verify.c index 0a7a90f..57af105 100644 --- a/WEGA/src/cmd/verify.c +++ b/WEGA/src/cmd/verify.c @@ -5,8 +5,8 @@ Programm: verify.c Bearbeiter : P. Hoge - Datum : ??.??.?? - Version : 1.5 + Datum : 30.11.89 + Version : 1.6 *************************************************************************** @@ -16,6 +16,7 @@ *************************************************************************** **************************************************************************/ +#include #include #include #include @@ -59,6 +60,13 @@ char **argv; exit(1); } + /* Programm darf nicht abgebrochen werden */ + signal(SIGALRM, SIG_IGN); + signal(SIGHUP, SIG_IGN); + signal(SIGINT, SIG_IGN); + signal(SIGQUIT, SIG_IGN); + signal(SIGTERM, SIG_IGN); + buf = 'V'; write(dd, &buf, 1); /* Start Request V: Verify */ buf = stbuf.st_rdev; /* Minornummer (Typ + Drivenr.) */