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 13:52:34 +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=eykcOZjX7b5wWCdN+3GmqpJvBPLRtA5wIqe7GoqI6ddiVEMZxR86n4UE1zeNvfoUUkzdWBNtRwPuky81n/7MNghymT5GpjvnSVz6NKQPIPNpPFBVOhRQa8vcpNjkN1+/Ij0MU9zJ/6EAtI0aIXC14sHcFbsBUR6aNUJcvKsDASI=
- References: <20060328042659.GA18759@nevyn.them.org>
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 ?
> --
> Daniel Jacobowitz
> CodeSourcery
>
>