This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: Update MIPS poll.h
- From: Niklaus <niklaus at gmail dot com>
- To: "Daniel Jacobowitz" <drow at false dot org>
- Cc: libc-ports at sourceware dot org
- Date: Tue, 28 Mar 2006 14:04:29 +0530
- Subject: Re: Update MIPS poll.h
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FbgiBO9njHm0AR10MkUUqc8cseE8YKou3dy1Fjld2BzwpAcrhukV0iyI1GwAu9bcNOOp6rUrZnRHWPPpmOiKuRXbH/YYSa/XVCYdOmn1P6qKC8Qf4ajZK1YBQpkb6I02L8AdILTlbD7zuS0NkWKjDMC36gfUuFuRuTRlxRvzw9E=
- References: <20060328042659.GA18759@nevyn.them.org> <85e0e3140603280022o3f9de514j31d009d2f286f4e9@mail.gmail.com>
On 3/28/06, Niklaus <niklaus@gmail.com> wrote:
> On 3/28/06, Daniel Jacobowitz <drow@false.org> wrote:
> > Checked in.
> >
> > 2006-03-27 Daniel Jacobowitz <dan@codesourcery.com>
> >
> > * sysdeps/unix/sysv/linux/mips/bits/poll.h (POLLREMOVE, POLLRDHUP):
> > Define.
> >
> > Index: sysdeps/unix/sysv/linux/mips/bits/poll.h
> > ===================================================================
> > RCS file: /cvs/glibc/ports/sysdeps/unix/sysv/linux/mips/bits/poll.h,v
> > retrieving revision 1.5
> > diff -u -p -r1.5 poll.h
> > --- sysdeps/unix/sysv/linux/mips/bits/poll.h 31 Jul 2001 07:46:05 -0000 1.5
> > +++ sysdeps/unix/sysv/linux/mips/bits/poll.h 28 Mar 2006 04:25:12 -0000
> > @@ -1,4 +1,4 @@
> > -/* Copyright (C) 1997, 2001 Free Software Foundation, Inc.
> > +/* Copyright (C) 1997, 2001, 2006 Free Software Foundation, Inc.
> > This file is part of the GNU C Library.
> >
> > The GNU C Library is free software; you can redistribute it and/or
> > @@ -36,8 +36,10 @@
> > #endif
> >
> > #ifdef __USE_GNU
> > -/* This is an extension for Linux. */
> > +/* These are extensions for Linux. */
> > # define POLLMSG 0x400
> > +# define POLLREMOVE 0x1000
> > +# define POLLRDHUP 0x2000
> > #endif
> >
> > /* Event types always implicitly polled for. These bits need not be set in
> >
>
> diff -urN sysdepsold/unix/sysv/linux/m68k/bits/poll.h
> sysdeps/unix/sysv/linux/m68k/bits/poll.h
> --- sysdepsold/unix/sysv/linux/m68k/bits/poll.h 2001-07-31
> 13:16:06.000000000 +0530
> +++ sysdeps/unix/sysv/linux/m68k/bits/poll.h 2006-03-28
> 19:58:15.000000000 +0530
> @@ -26,6 +26,8 @@
> #define POLLIN 0x001 /* There is data to read. */
> #define POLLPRI 0x002 /* There is urgent
> data to read. */
> #define POLLOUT 0x004 /* Writing now will
> not block. */
> +#define POLLREMOVE 0x1000
> +#define POLLRDHUP 0x2000
>
>
> Can we do the same for m68k ?
>
and sparc
diff -urN sysdepsold/unix/sysv/linux/sparc/bits/poll.h
sysdeps/unix/sysv/linux/sparc/bits/poll.h
--- sysdepsold/unix/sysv/linux/sparc/bits/poll.h 2006-03-28
20:07:19.000000000 +0530
+++ sysdeps/unix/sysv/linux/sparc/bits/poll.h 2006-03-28
20:14:18.000000000 +0530
@@ -26,7 +26,8 @@
#define POLLIN 0x001 /* There is data to read. */
#define POLLPRI 0x002 /* There is urgent
data to read. */
#define POLLOUT 0x004 /* Writing now will
not block. */
-
+#define POLLREMOVE 1024
+#define POLLRDHUP 2048
#ifdef __USE_XOPEN
/* These values are defined in XPG4.2. */
# define POLLRDNORM 0x040 /* Normal data may be read. */
> > --
> > Daniel Jacobowitz
> > CodeSourcery
> >
> >
>