Axel Luttgens:
> Le 25 mars 2013 ? 20:12, Wietse Venema a ?crit :
>
> > This patch implements the third solution that I described earlier:
> > use kqueue() for event handling, and use select() to enforce
> > read/write time limits.
postfix-2.11-20130327 can use select() after poll() fails. The
result will perform identically to Apple's code, but without using
special-case code for the random-device reader.
To clean up the code further, I eliminated "#ifdef MACOSX" tests.
The poll() and getrlimit() workarounds now have their own feature
macros. This allows me to enable a workaround on other systems if
needed, but the main benefit is that it makes the workarounds easier
to test on a non-MACOS system (no need to edit files).
Wietse