svn rev #25169: trunk/src/util/k5ev/

tlyu@MIT.EDU tlyu at MIT.EDU
Wed Sep 7 17:31:48 EDT 2011


http://src.mit.edu/fisheye/changelog/krb5/?cs=25169
Commit By: tlyu
Log Message:
Fall back to EV_USE_SELECT.

ev.c explicitly disables poll() on Mac and FreeBSD, which left our
standalone version without any working back ends on Mac OS X, for
example.  Fall back to using select() on these platforms.


Changed Files:
U   trunk/src/util/k5ev/verto-k5ev.c
Modified: trunk/src/util/k5ev/verto-k5ev.c
===================================================================
--- trunk/src/util/k5ev/verto-k5ev.c	2011-09-07 19:10:25 UTC (rev 25168)
+++ trunk/src/util/k5ev/verto-k5ev.c	2011-09-07 21:31:48 UTC (rev 25169)
@@ -39,9 +39,9 @@
 #define EV_FEATURES 0x5f        /* Everything but back ends */
 #ifdef HAVE_POLL_H
 #define EV_USE_POLL 1
-#else
+#endif
+/* ev.c explicitly disables poll() on Mac or FreeBSD; fall back to select(). */
 #define EV_USE_SELECT 1
-#endif
 #include "ev.c"
 
 static void




More information about the cvs-krb5 mailing list