Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.3.48 /fs/fcntl.c

Filename:/fs/fcntl.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.3.21  2.3.16  2.3.15  2.3.12  2.3.11  2.3.10 
(Following) 2.5.50  2.5.50bk1  2.5.50-ac1  2.5.51  2.5.66-bk11  2.5.66-bk12 

Location
[  2.3.48
  [  fs
     o  fcntl.c

Patch

diff -u --recursive --new-file v2.3.47/linux/fs/fcntl.c linux/fs/fcntl.c
--- v2.3.47/linux/fs/fcntl.c   Mon Oct 11 15:38:15 1999
+++ linux/fs/fcntl.c   Sat Feb 26 20:46:44 2000
@@ -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;


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.