The old macros assumed that FD_SETSIZE is at least 256. This caused problems with cygwin where FD_SETSIZE is defined as 64. The new macros respect FD_SETSIZE and only access the fd_set fields which are present.
Created attachment 400 [details] [review] new XFD_* macros I'll commit on friday if there are no objections
/cvs/xorg/xc/include/Xpoll.h,v <-- Xpoll.h new revision: 1.4; previous revision: 1.3 marked as fixed
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.