Axel Luttgens: > > Viktor Dukhovni reports that MacOS poll() support is still broken > > for /dev/urandom. This breaks tlsmgr(8), as discussed in: > > > > http://archives.neohapsis.com/archives/postfix/2009-12/thread.html#805 ... > I quickly looked at what Apple did for that problem; seems to be contained in:
That appears to be a special-case subset of my third solution (enforce read/write time limits with select() instead of poll()). Their solution a) handles reading only, and b) unconditionally fails on descriptors >= FD_SETSIZE. My solution handles reading and writing, and tries to dup() descriptors >= FD_SETSIZE down which will practially eliminate the problem. Wietse