patch-2.3.16 linux/fs/fcntl.c
Next file: linux/fs/hfs/super.c
Previous file: linux/fs/fat/misc.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Aug 27 12:03:01 1999
- Orig file:
v2.3.15/linux/fs/fcntl.c
- Orig date:
Thu Aug 26 13:05:40 1999
diff -u --recursive --new-file v2.3.15/linux/fs/fcntl.c linux/fs/fcntl.c
@@ -234,7 +234,8 @@
err = filp->f_owner.signum;
break;
case F_SETSIG:
- if (arg <= 0 || arg > _NSIG) {
+ /* arg == 0 restores default behaviour. */
+ if (arg < 0 || arg > _NSIG) {
err = -EINVAL;
break;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)