patches/glibc/2.3.2/epoll-epollet.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.3.2/epoll-epollet.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,28 @@
     1.4 +http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/sysdeps/unix/sysv/linux/sys/epoll.h.diff?r1=1.1&r2=1.2&cvsroot=glibc
     1.5 +Needed for modern sys_epoll.
     1.6 +
     1.7 +===================================================================
     1.8 +RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/sys/epoll.h,v
     1.9 +retrieving revision 1.1
    1.10 +retrieving revision 1.2
    1.11 +diff -u -r1.1 -r1.2
    1.12 +--- libc/sysdeps/unix/sysv/linux/sys/epoll.h	2002/12/16 23:35:27	1.1
    1.13 ++++ libc/sysdeps/unix/sysv/linux/sys/epoll.h	2003/03/24 23:50:25	1.2
    1.14 +@@ -1,4 +1,4 @@
    1.15 +-/* Copyright (C) 2002 Free Software Foundation, Inc.
    1.16 ++/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
    1.17 +    This file is part of the GNU C Library.
    1.18 + 
    1.19 +    The GNU C Library is free software; you can redistribute it and/or
    1.20 +@@ -42,8 +42,10 @@
    1.21 + #define EPOLLMSG EPOLLMSG
    1.22 +     EPOLLERR = 0x008,
    1.23 + #define EPOLLERR EPOLLERR
    1.24 +-    EPOLLHUP = 0x010
    1.25 ++    EPOLLHUP = 0x010,
    1.26 + #define EPOLLHUP EPOLLHUP
    1.27 ++    EPOLLET = (1 << 31)
    1.28 ++#define EPOLLET EPOLLET
    1.29 +   };
    1.30 + 
    1.31 +