* Ported to Linux's Second Extended File System as part of the
* dump and restore backup suit
* Remy Card <card@Linux.EU.Org>, 1994-1997
- * Stelian Pop <pop@cybercable.fr>, 1999-2000
+ * Stelian Pop <pop@noos.fr>, 1999-2000
+ * Stelian Pop <pop@noos.fr> - AlcĂ´ve <www.alcove.fr>, 2000
*/
/*-
#ifndef lint
static const char rcsid[] =
- "$Id: tape.c,v 1.21 2000/08/19 22:06:03 stelian Exp $";
+ "$Id: tape.c,v 1.25 2000/12/04 15:43:16 stelian Exp $";
#endif /* not lint */
#ifdef __linux__
master = getpid();
{ struct sigaction sa;
- sa.sa_sigaction = NULL;
+ memset(&sa, 0, sizeof sa);
sigemptyset(&sa.sa_mask);
- sa.sa_flags = 0;
sa.sa_handler = dumpabort;
sigaction(SIGTERM, &sa, NULL); /* Slave sends SIGTERM on dumpabort() */
sa.sa_handler = sigpipe;