Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3-0]: src/usr.sbin/bind/include Pull up following revision(s) (re...
details: https://anonhg.NetBSD.org/src/rev/8bd39e2d0edd
branches: netbsd-3-0
changeset: 579316:8bd39e2d0edd
user: ghen <ghen%NetBSD.org@localhost>
date: Tue Oct 24 08:34:31 2006 +0000
description:
Pull up following revision(s) (requested by he in ticket #1565):
usr.sbin/bind/include/config.h: revision 1.5
If we're not using pthreads, claim also that we don't have sigwait.
This works around the problems observed on sparc and sparc64 (where
we've disabled use of pthreads) where the BIND applications end up
being killed with SIGTERM instead of exiting gracefully.
diffstat:
usr.sbin/bind/include/config.h | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r fe2de6e639dd -r 8bd39e2d0edd usr.sbin/bind/include/config.h
--- a/usr.sbin/bind/include/config.h Tue Oct 24 08:30:15 2006 +0000
+++ b/usr.sbin/bind/include/config.h Tue Oct 24 08:34:31 2006 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: config.h,v 1.3 2005/01/10 03:01:18 lukem Exp $ */
+/* $NetBSD: config.h,v 1.3.4.1 2006/10/24 08:34:31 ghen Exp $ */
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.in by autoheader. */
@@ -35,8 +35,15 @@
/* define if your system needs pthread_init() before using pthreads */
/* #undef NEED_PTHREAD_INIT */
+/*
+ * Apparently, the combination of "no threads" but HAVE_SIGWAIT
+ * has not been well tested. Applications end up killing themselves
+ * instead of exiting gracefully.
+ */
+#ifdef ISC_PLATFORM_USETHREADS
/* define if your system has sigwait() */
#define HAVE_SIGWAIT 1
+#endif /* ISC_PLATFORM_USETHREADS */
/* define if sigwait() is the UnixWare flavor */
/* #undef HAVE_UNIXWARE_SIGWAIT */
Home |
Main Index |
Thread Index |
Old Index