diff -u x11proto-core-7.0.14/debian/changelog x11proto-core-7.0.14/debian/changelog --- x11proto-core-7.0.14/debian/changelog +++ x11proto-core-7.0.14/debian/changelog @@ -1,3 +1,9 @@ +x11proto-core (7.0.14-1ubuntu1) jaunty; urgency=low + + * Raise XFD_SETSIZE from 256 to 512. + + -- Anders Kaseorg Mon, 09 Feb 2009 13:50:45 -0500 + x11proto-core (7.0.14-1) experimental; urgency=low * debian/control: x-dev is in Section: libdevel, not x11. only in patch2: unchanged: --- x11proto-core-7.0.14.orig/Xpoll.h.in +++ x11proto-core-7.0.14/Xpoll.h.in @@ -96,7 +96,7 @@ # endif #endif -#define XFD_SETSIZE 256 +#define XFD_SETSIZE 512 #ifndef FD_SETSIZE #define FD_SETSIZE XFD_SETSIZE @@ -164,7 +164,8 @@ (howmany(FD_SETSIZE, NFDBITS) > 4 && (__XFDS_BITS(p, 4))) || \ (howmany(FD_SETSIZE, NFDBITS) > 5 && (__XFDS_BITS(p, 5))) || \ (howmany(FD_SETSIZE, NFDBITS) > 6 && (__XFDS_BITS(p, 6))) || \ - (howmany(FD_SETSIZE, NFDBITS) > 7 && (__XFDS_BITS(p, 7)))) + (howmany(FD_SETSIZE, NFDBITS) > 7 && (__XFDS_BITS(p, 7))) || \ + (howmany(FD_SETSIZE, NFDBITS) > 8 && (__XFDS_BITS(p, 8)))) #define XFD_COPYSET(src,dst) { \ int __i__; \