latest version
This commit is contained in:
parent
94bc9eb12b
commit
d2c0424257
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue