This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch for recent linux kernel additions , POLLREMOVE, POLLRDHUP m68k and sparc


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]