This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Patch for recent linux kernel additions , POLLREMOVE, POLLRDHUP m68k and sparc
- From: Niklaus <niklaus at gmail dot com>
- To: libc-ports at sources dot redhat dot com
- Cc: roland at redhat dot com, drepper at redhat dot com
- Date: Wed, 29 Mar 2006 11:42:39 +0530
- Subject: Patch for recent linux kernel additions , POLLREMOVE, POLLRDHUP m68k and sparc
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:mime-version:content-type:content-transfer-encoding:content-disposition; b=iQiHTsgu3nGYOrvWMbCMEoyXW/zjoA5d7Z50QFB50QU7LrcsiFg9jSU3q6EdwiAYNJwE0MSJ4Qbz2OCGB6iJcMyNIedWM42xUoYBlV7JWvVyEmAOAYpG49HyGPoTu0ZhG6YwyqXrVl5X3FuBmhVrMcCIWvNw/TQ7PdM5YKwOpSI=
Hi,
The patch for sparc has already been comitted by Ulrich into the
fedora tree. Can we do it for the main tree.
I am not sure if roland is the maintainer for m68k but i could find
your name in cvs web for poll.h of m68k . So can you apply the patch
for m68k.
diff -urpN 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:30:51.000000000 +0530
@@ -27,6 +27,12 @@
#define POLLPRI 0x002 /* There is urgent
data to read. */
#define POLLOUT 0x004 /* Writing now will
not block. */
+#ifdef __USE_GNU
+/* These are for linux */
+#define POLLREMOVE 1024
+#define POLLRDHUP 2048
+#endif
+
#ifdef __USE_XOPEN
/* These values are defined in XPG4.2. */
# define POLLRDNORM 0x040 /* Normal data may be read. */
Ports tree.I forgot the __USE_GNU
diff -urpN 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
20:22:05.000000000 +0530
@@ -27,6 +27,12 @@
#define POLLPRI 0x002 /* There is urgent
data to read. */
#define POLLOUT 0x004 /* Writing now will
not block. */
+#ifdef __USE_GNU
+/* These are for linux */
+#define POLLREMOVE 0x1000
+#define POLLRDHUP 0x2000
+#endif