patch-2.1.81 linux/drivers/char/ftape/lowlevel/ftape-ctl.c
Next file: linux/drivers/char/ftape/lowlevel/ftape-init.h
Previous file: linux/drivers/char/ftape/lowlevel/fdc-io.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Jan 23 17:38:04 1998
- Orig file:
v2.1.80/linux/drivers/char/ftape/lowlevel/ftape-ctl.c
- Orig date:
Tue Nov 25 14:45:27 1997
diff -u --recursive --new-file v2.1.80/linux/drivers/char/ftape/lowlevel/ftape-ctl.c linux/drivers/char/ftape/lowlevel/ftape-ctl.c
@@ -794,8 +794,8 @@
i, *ft_buffer[i]->address);
}
}
- if ((current->signal & _DONT_BLOCK) &&
- !(current->signal & _NEVER_BLOCK) &&
+ if (sigtestsetmask(¤t->signal, _DONT_BLOCK) &&
+ !(sigtestsetmask(¤t->signal, _NEVER_BLOCK)) &&
ftape_tape_running) {
TRACE(ft_t_warn,
"Interrupted by fatal signal and tape still running");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov