2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 21:47:59 +00:00

1930. [port] HPUX: ia64 support. [RT #15473]

1929.   [port]          FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
This commit is contained in:
Mark Andrews 2005-10-14 01:14:08 +00:00
parent cedb0bd0c1
commit 16ee4fe11b
8 changed files with 24 additions and 21 deletions

View File

@ -1,3 +1,7 @@
1930. [port] HPUX: ia64 support. [RT #15473]
1929. [port] FreeBSD: extend use of PTHREAD_SCOPE_SYSTEM.
1928. [bug] Race in rbtdb.c:currentversion(). [RT #15517] 1928. [bug] Race in rbtdb.c:currentversion(). [RT #15517]
1927. [bug] Access to soanode or nsnode in rbtdb violated the 1927. [bug] Access to soanode or nsnode in rbtdb violated the

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: dig.c,v 1.207 2005/08/25 00:40:49 marka Exp $ */ /* $Id: dig.c,v 1.208 2005/10/14 01:14:06 marka Exp $ */
/*! \file */ /*! \file */
@ -813,7 +813,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
break; break;
case 'l': /* cl */ case 'l': /* cl */
FULLCHECK("cl"); FULLCHECK("cl");
noclass = !state; noclass = ISC_TF(!state);
break; break;
case 'm': /* cmd */ case 'm': /* cmd */
FULLCHECK("cmd"); FULLCHECK("cmd");
@ -1074,7 +1074,7 @@ plus_option(char *option, isc_boolean_t is_batchfile,
break; break;
case 't': /* ttlid */ case 't': /* ttlid */
FULLCHECK("ttlid"); FULLCHECK("ttlid");
nottl = !state; nottl = ISC_TF(!state);
break; break;
default: default:
goto invalid_option; goto invalid_option;

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: dighost.c,v 1.287 2005/09/18 07:16:18 marka Exp $ */ /* $Id: dighost.c,v 1.288 2005/10/14 01:14:06 marka Exp $ */
/*! \file /*! \file
* \note * \note
@ -2227,7 +2227,7 @@ send_udp(dig_query_t *query) {
*/ */
static void static void
connect_timeout(isc_task_t *task, isc_event_t *event) { connect_timeout(isc_task_t *task, isc_event_t *event) {
dig_lookup_t *l = NULL, *n; dig_lookup_t *l = NULL;
dig_query_t *query = NULL, *cq; dig_query_t *query = NULL, *cq;
UNUSED(task); UNUSED(task);
@ -2263,7 +2263,7 @@ connect_timeout(isc_task_t *task, isc_event_t *event) {
debug("making new TCP request, %d tries left", debug("making new TCP request, %d tries left",
l->retries); l->retries);
l->retries--; l->retries--;
n = requeue_lookup(l, ISC_TRUE); requeue_lookup(l, ISC_TRUE);
cancel_lookup(l); cancel_lookup(l);
check_next_lookup(l); check_next_lookup(l);
} }

View File

@ -16,7 +16,7 @@
* IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: dnssec-signzone.c,v 1.191 2005/09/18 07:16:19 marka Exp $ */ /* $Id: dnssec-signzone.c,v 1.192 2005/10/14 01:14:06 marka Exp $ */
/*! \file */ /*! \file */
@ -766,7 +766,6 @@ signname(dns_dbnode_t *node, dns_name_t *name) {
dns_rdatasetiter_t *rdsiter; dns_rdatasetiter_t *rdsiter;
isc_boolean_t isdelegation = ISC_FALSE; isc_boolean_t isdelegation = ISC_FALSE;
isc_boolean_t hasds = ISC_FALSE; isc_boolean_t hasds = ISC_FALSE;
isc_boolean_t atorigin;
isc_boolean_t changed = ISC_FALSE; isc_boolean_t changed = ISC_FALSE;
dns_diff_t del, add; dns_diff_t del, add;
char namestr[DNS_NAME_FORMATSIZE]; char namestr[DNS_NAME_FORMATSIZE];
@ -774,8 +773,6 @@ signname(dns_dbnode_t *node, dns_name_t *name) {
dns_name_format(name, namestr, sizeof(namestr)); dns_name_format(name, namestr, sizeof(namestr));
atorigin = dns_name_equal(name, gorigin);
/* /*
* Determine if this is a delegation point. * Determine if this is a delegation point.
*/ */
@ -1432,7 +1429,6 @@ warnifallksk(dns_db_t *db) {
dns_dbnode_t *node = NULL; dns_dbnode_t *node = NULL;
dns_rdataset_t rdataset; dns_rdataset_t rdataset;
dns_rdata_t rdata = DNS_RDATA_INIT; dns_rdata_t rdata = DNS_RDATA_INIT;
dst_key_t *pubkey;
isc_result_t result; isc_result_t result;
dns_rdata_key_t key; dns_rdata_key_t key;
isc_boolean_t have_non_ksk = ISC_FALSE; isc_boolean_t have_non_ksk = ISC_FALSE;
@ -1453,7 +1449,6 @@ warnifallksk(dns_db_t *db) {
result = dns_rdataset_first(&rdataset); result = dns_rdataset_first(&rdataset);
check_result(result, "dns_rdataset_first"); check_result(result, "dns_rdataset_first");
while (result == ISC_R_SUCCESS) { while (result == ISC_R_SUCCESS) {
pubkey = NULL;
dns_rdata_reset(&rdata); dns_rdata_reset(&rdata);
dns_rdataset_current(&rdataset, &rdata); dns_rdataset_current(&rdataset, &rdata);
result = dns_rdata_tostruct(&rdata, &key, NULL); result = dns_rdata_tostruct(&rdata, &key, NULL);

View File

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE. * PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: xfrout.c,v 1.120 2005/09/05 00:10:53 marka Exp $ */ /* $Id: xfrout.c,v 1.121 2005/10/14 01:14:07 marka Exp $ */
#include <config.h> #include <config.h>
@ -873,7 +873,7 @@ xfrout_log1(ns_client_t *client, dns_name_t *zonename,
const char *fmt, ...) ISC_FORMAT_PRINTF(5, 6); const char *fmt, ...) ISC_FORMAT_PRINTF(5, 6);
static void static void
xfrout_log(xfrout_ctx_t *xfr, unsigned int level, const char *fmt, ...) xfrout_log(xfrout_ctx_t *xfr, int level, const char *fmt, ...)
ISC_FORMAT_PRINTF(3, 4); ISC_FORMAT_PRINTF(3, 4);
/**************************************************************************/ /**************************************************************************/
@ -1801,7 +1801,7 @@ xfrout_log1(ns_client_t *client, dns_name_t *zonename,
* Logging function for use when there is a xfrout_ctx_t. * Logging function for use when there is a xfrout_ctx_t.
*/ */
static void static void
xfrout_log(xfrout_ctx_t *xfr, unsigned int level, const char *fmt, ...) { xfrout_log(xfrout_ctx_t *xfr, int level, const char *fmt, ...) {
va_list ap; va_list ap;
va_start(ap, fmt); va_start(ap, fmt);
xfrout_logv(xfr->client, xfr->qname, xfr->qclass, level, fmt, ap); xfrout_logv(xfr->client, xfr->qname, xfr->qclass, level, fmt, ap);

View File

@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl
esyscmd([sed "s/^/# /" COPYRIGHT])dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl
AC_DIVERT_POP()dnl AC_DIVERT_POP()dnl
AC_REVISION($Revision: 1.394 $) AC_REVISION($Revision: 1.395 $)
AC_INIT(lib/dns/name.c) AC_INIT(lib/dns/name.c)
AC_PREREQ(2.59) AC_PREREQ(2.59)
@ -649,7 +649,11 @@ then
*-freebsd*) *-freebsd*)
AC_CHECK_LIB(c_r, sigwait, AC_DEFINE(HAVE_SIGWAIT),) AC_CHECK_LIB(c_r, sigwait, AC_DEFINE(HAVE_SIGWAIT),)
case $host in case $host in
*-freebsd5.3|*-freebsd5.3.*) *-freebsd5.[[012]]|*-freebsd5.[[012]].*);;
*-freebsd5.[[3456789]]|*-freebsd5.[[3456789]].*)
AC_DEFINE(NEED_PTHREAD_SCOPE_SYSTEM)
;;
*-freebsd6.*)
AC_DEFINE(NEED_PTHREAD_SCOPE_SYSTEM) AC_DEFINE(NEED_PTHREAD_SCOPE_SYSTEM)
;; ;;
esac esac
@ -819,7 +823,7 @@ else
;; ;;
*) *)
# Turn off the pointlessly noisy warnings. # Turn off the pointlessly noisy warnings.
STD_CWARNINGS="+w1 +W 474,530" STD_CWARNINGS="+w1 +W 474,530,2193,2236"
;; ;;
esac esac
CCOPT="$CCOPT -Ae -z" CCOPT="$CCOPT -Ae -z"

2
lib/bind/configure vendored
View File

@ -6423,7 +6423,7 @@ else
;; ;;
*) *)
# Turn off the pointlessly noisy warnings. # Turn off the pointlessly noisy warnings.
STD_CWARNINGS="+w1 +W 474,530,2193" STD_CWARNINGS="+w1 +W 474,530,2193,2236"
;; ;;
esac esac
CCOPT="$CCOPT -Ae -z" CCOPT="$CCOPT -Ae -z"

View File

@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE. # PERFORMANCE OF THIS SOFTWARE.
AC_REVISION($Revision: 1.113 $) AC_REVISION($Revision: 1.114 $)
AC_INIT(resolv/herror.c) AC_INIT(resolv/herror.c)
AC_PREREQ(2.13) AC_PREREQ(2.13)
@ -533,7 +533,7 @@ else
;; ;;
*) *)
# Turn off the pointlessly noisy warnings. # Turn off the pointlessly noisy warnings.
STD_CWARNINGS="+w1 +W 474,530,2193" STD_CWARNINGS="+w1 +W 474,530,2193,2236"
;; ;;
esac esac
CCOPT="$CCOPT -Ae -z" CCOPT="$CCOPT -Ae -z"