* <alpha/poll.h> change
@ 2006-03-25 20:42 Ulrich Drepper
2006-03-26 4:04 ` Davide Libenzi
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich Drepper @ 2006-03-25 20:42 UTC (permalink / raw)
To: Linux Kernel
[-- Attachment #1: Type: text/plain, Size: 648 bytes --]
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?
--
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: <alpha/poll.h> change
2006-03-25 20:42 <alpha/poll.h> change Ulrich Drepper
@ 2006-03-26 4:04 ` Davide Libenzi
0 siblings, 0 replies; 2+ messages in thread
From: Davide Libenzi @ 2006-03-26 4:04 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Linux Kernel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-03-26 4:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-25 20:42 <alpha/poll.h> change Ulrich Drepper
2006-03-26 4:04 ` Davide Libenzi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox