James Clarke, on Sat 23 Apr 2016 15:03:29 +0100, wrote: > > AIUI, nothing uses XFD_SETSIZE actually, it's just the default value > > that X uses for FD_SETSIZE in case it's not already defined. > > No, in e.g. os/WaitFor.c in xorg-server, there are for loops using > howmany(XFD_SETSIZE, NFDBITS) to iterate over each element,
Ergl, ok, so XFD_SETSIZE also needs to be fixed. > These lines are fine; the indexing is guarded by the howmany check, and uses > the real FD_SETSIZE. Ah, right. Overlooked the whole thing too fast. Sorry for the noise, Samuel