Re: <alpha/poll.h> change

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 25 Mar 2006, Ulrich Drepper wrote:

Alpha's <sys/poll.h> file was so far compatible with most of the other
archs (except SPARC).  Since the introduction of POLLREMOVE it's
different.  In Alpha:

#define POLLREMOVE     (1 << 11)
+#define POLLRDHUP       (1 << 12)

For the other archs:

#define POLLREMOVE     0x1000
+#define POLLRDHUP       0x2000


For Alpha the values should have been 1<<12 and 1<<13.  Neither
POLLREMOVE nor POLLRDHUP have been in any glibc header.  How widely are
they used elsewhere?  Is it too late to change the Alpha definitions to
match the rest?

As far as I'm concerned this is a brand new thing, so there should be no problems in making it right.


- Davide


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux