krb5 commit: Compile less libev code

Greg Hudson ghudson at mit.edu
Wed Mar 29 12:28:18 EDT 2017


https://github.com/krb5/krb5/commit/b0f2388874372de5e760b735f665839622286374
commit b0f2388874372de5e760b735f665839622286374
Author: Greg Hudson <ghudson at mit.edu>
Date:   Tue Mar 28 14:12:48 2017 -0400

    Compile less libev code
    
    In verto-k5ev.c, turn off optional watchers in ev.c, and enable the
    specific watcher types we use.

 src/util/verto/verto-k5ev.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/src/util/verto/verto-k5ev.c b/src/util/verto/verto-k5ev.c
index 74fa368..713c4f2 100644
--- a/src/util/verto/verto-k5ev.c
+++ b/src/util/verto/verto-k5ev.c
@@ -41,7 +41,12 @@
 /* Avoid using clock_gettime, which would create a dependency on librt. */
 #define EV_USE_MONOTONIC 0
 #define EV_USE_REALTIME 0
-#define EV_FEATURES 0x5f        /* Everything but back ends */
+#define EV_FEATURES 0x4f        /* No back ends or optional watchers */
+/* Enable the optional watcher types we use. */
+#define EV_IDLE_ENABLE 1
+#define EV_SIGNAL_ENABLE 1
+#define EV_CHILD_ENABLE 1
+/* Enable the back ends we want. */
 #ifdef HAVE_POLL_H
 #define EV_USE_POLL 1
 #endif


More information about the cvs-krb5 mailing list