latest version

This commit is contained in:
Oliver Lehmann 2008-06-02 18:20:45 +00:00
parent 94bc9eb12b
commit d2c0424257
1 changed files with 10 additions and 2 deletions

View File

@ -5,8 +5,8 @@
Programm: copydisk.c
Bearbeiter : P. Hoge
Datum : ??.??.??
Version : 1.5
Datum : 30.11.89
Version : 1.6
***************************************************************************
@ -16,6 +16,7 @@
***************************************************************************
**************************************************************************/
#include <signal.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/stat.h>
@ -82,6 +83,13 @@ register 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 = 'C';
write(dd, &buf, 1); /* Start Request C: COPYDISK */
write(dd, &sbuf, 1);