patch-2.3.48 linux/fs/fcntl.c
Next file: linux/fs/fifo.c
Previous file: linux/fs/fat/inode.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Sat Feb 26 20:46:44 2000
- Orig file:
v2.3.47/linux/fs/fcntl.c
- Orig date:
Mon Oct 11 15:38:15 1999
diff -u --recursive --new-file v2.3.47/linux/fs/fcntl.c linux/fs/fcntl.c
@@ -259,7 +259,7 @@
/* Table to convert sigio signal codes into poll band bitmaps */
-static int band_table[NSIGPOLL+1] = {
+static long band_table[NSIGPOLL+1] = {
~0,
POLLIN | POLLRDNORM, /* POLL_IN */
POLLOUT | POLLWRNORM | POLLWRBAND, /* POLL_OUT */
@@ -291,7 +291,7 @@
si.si_errno = 0;
si.si_code = reason;
if (reason < 0 || reason > NSIGPOLL)
- si.si_band = ~0;
+ si.si_band = ~0L;
else
si.si_band = band_table[reason];
si.si_fd = fa->fa_fd;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)