When using poll(), trunk and 1.4.x work fine for me, and I just need this
patch in 1.3.x to work around poll() retcode bogosity. (The work-around was
a side-effect of the wakeup pipe changes in 1.4.x and trunk.)
Index: poll/unix/poll.c
===================================================================
--- poll/unix/poll.c (revision 781875)
+++ poll/unix/poll.c (working copy)
@@ -265,6 +265,7 @@
j++;
}
}
+ *num = j;
if (descriptors)
*descriptors = pollset->result_set;
return APR_SUCCESS;
Sander reported test suite crashes using poll(), and I don't think the
change above will solve it.
Can anyone recreate problems with poll() on any of the branches, using that
patch with 1.3.x? As of a few minutes ago, trunk and 1.4.x will use poll(),
but 1.3.x needs a tweak to build/apr_hints.m4 to stop disabling it on Darwin
9.x.
--
Born in Roswell... married an alien...