[29892] in CVS-changelog-for-Kerberos-V5
krb5 commit: Compile less libev code
daemon@ATHENA.MIT.EDU (Greg Hudson)
Wed Mar 29 12:28:23 2017
Date: Wed, 29 Mar 2017 12:28:18 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201703291628.v2TGSI0Z012256@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu
https://github.com/krb5/krb5/commit/b0f2388874372de5e760b735f665839622286374
commit b0f2388874372de5e760b735f665839622286374
Author: Greg Hudson <ghudson@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
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5