and defaulting to the working directory if not
specified) must be writable. [RT #46077]
-4766. [cleanup] Addresss Coverity warnings. [RT #46150]
+4766. [cleanup] Address Coverity warnings. [RT #46150]
4763. [contrib] Improve compatibility when building MySQL DLZ
module by using mysql_config if available.
1831. [doc] Update named-checkzone documentation. [RT #13604]
-1830. [bug] adb lame cache has sence of test reversed. [RT #13600]
+1830. [bug] adb lame cache has sense of test reversed. [RT #13600]
1829. [bug] win32: "pid-file none;" broken. [RT #13563]
size_t entries = l->entries;
/*
- * Skip initial speculative wild card hashs.
+ * Skip initial speculative wild card hashes.
*/
while (entries > 0U && next[l->length-1] != 0U) {
next += l->length;
salt, salt_len, false);
dns_db_detachnode(gdb, &node);
/*
- * Add hashs for empty nodes. Use closest encloser logic.
+ * Add hashes for empty nodes. Use closest encloser logic.
* The closest encloser either has data or is a empty
* node for another <name,nextname> span so we don't add
* it here. Empty labels on nextname are within the span.
result = dns_rdataset_next(&rdataset);
if (result != ISC_R_NOMORE) {
dns_name_format(name, namebuf, sizeof(namebuf));
- fprintf(stderr, "Multipe NSEC records for %s\n", namebuf);
+ fprintf(stderr, "Multiple NSEC records for %s\n", namebuf);
goto failure;
}
check_result(result, "dns_nsec3_hashname()");
/*
- * We don't use dns_db_find() here as it works with the choosen
+ * We don't use dns_db_find() here as it works with the chosen
* nsec3 chain and we may also be called with uncommitted data
* from dnssec-signzone so the secure status of the zone may not
* be up to date.
* the "freed" state, it will be removed from the inactive
* list shortly, and we need to keep the manager locked until
* that has been done, lest the manager decide to reactivate
- * the dying client inbetween.
+ * the dying client in between.
*/
client->state = NS_CLIENTSTATE_INACTIVE;
INSIST(client->recursionquota == NULL);
* \brief
* Main program for the Lightweight Resolver Daemon.
*
- * To paraphrase the old saying about X11, "It's not a lightweight deamon
- * for resolvers, it's a deamon for lightweight resolvers".
+ * To paraphrase the old saying about X11, "It's not a lightweight daemon
+ * for resolvers, it's a daemon for lightweight resolvers".
*/
#include <config.h>
goto cleanup;
/*
* We are finished checking the IP addresses for the qname.
- * Start with IPv4 if we will check NS IP addesses.
+ * Start with IPv4 if we will check NS IP addresses.
*/
st->state |= DNS_RPZ_DONE_QNAME_IP;
st->state &= ~DNS_RPZ_DONE_IPv4;
lookup("moghedien.flame.org."); /* should fetch */
lookup("mailrelay.flame.org."); /* should fetch */
lookup("ipv4v6.flame.org."); /* should fetch */
- lookup("nonexistant.flame.org."); /* should fail to be found */
+ lookup("nonexistent.flame.org."); /* should fail to be found */
lookup("foobar.badns.flame.org."); /* should fail utterly (NS) */
lookup("i.root-servers.net."); /* Should be in hints */
lookup("www.firstcard.com.");
lookup("moghedien.flame.org."); /* should fetch */
lookup("mailrelay.flame.org."); /* should fetch */
lookup("ipv4v6.flame.org."); /* should fetch */
- lookup("nonexistant.flame.org."); /* should fail to be found */
+ lookup("nonexistent.flame.org."); /* should fail to be found */
lookup("foobar.badns.flame.org."); /* should fail utterly (NS) */
lookup("i.root-servers.net."); /* Should be in hints */
CUNLOCK();
if [ -x ${DELV} ] ; then
ret=0
- echo_i "checking postive validation NSEC using dns_client ($n)"
+ echo_i "checking positive validation NSEC using dns_client ($n)"
$DELV $DELVOPTS @10.53.0.4 a a.example > delv.out$n || ret=1
grep "a.example..*10.0.0.1" delv.out$n > /dev/null || ret=1
grep "a.example..*.RRSIG.A [0-9][0-9]* 2 300 .*" delv.out$n > /dev/null || ret=1
ret=0
echo_i "check that 'nsupdate -l' with a missing keyfile reports the missing file"
-$NSUPDATE -l -p ${PORT} -k ns1/nonexistant.key 2> nsupdate.out < /dev/null
-grep ns1/nonexistant.key nsupdate.out > /dev/null || ret=1
+$NSUPDATE -l -p ${PORT} -k ns1/nonexistent.key 2> nsupdate.out < /dev/null
+grep ns1/nonexistent.key nsupdate.out > /dev/null || ret=1
if test $ret -ne 0
then
echo_i "failed"; status=1
$DIG $DIGOPTS @10.53.0.5 fetch.tld txt > dig.out.2.${n} || ret=1
ttl2=`awk '/"A" "short" "ttl"/ { print $2 }' dig.out.2.${n}`
sleep 1
-# check that prefetch occured
+# check that prefetch occurred
$DIG $DIGOPTS @10.53.0.5 fetch.tld txt > dig.out.3.${n} || ret=1
ttl=`awk '/"A" "short" "ttl"/ { print $2 }' dig.out.3.${n}`
test ${ttl:-0} -gt ${ttl2:-1} || ret=1
$DIG $DIGOPTS @10.53.0.5 ds.example.net ds > dig.out.2.${n} || ret=1
dsttl2=`awk '$4 == "DS" && $7 == "1" { print $2 }' dig.out.2.${n}`
sleep 1
-# check that prefetch occured
+# check that prefetch occurred
$DIG $DIGOPTS @10.53.0.5 ds.example.net ds +dnssec > dig.out.3.${n} || ret=1
dsttl=`awk '$4 == "DS" && $7 == "1" { print $2 }' dig.out.3.${n}`
sigttl=`awk '$4 == "RRSIG" && $5 == "DS" { print $2 }' dig.out.3.${n}`
# the previous one.
$DIG $DIGOPTS @10.53.0.7 fetch.example.net txt > dig.out.2.${n} || return 1
ttl2=`awk '/"A" "short" "ttl"/ { print $2 }' dig.out.2.${n}`
- # check that prefetch has not occured
+ # check that prefetch has not occurred
if [ $ttl2 -ge $tmp_ttl ]; then
return 1
fi
sleep 1
done
nochange a7-1.tld2 # 19 PASSTHRU
- # ensure that a clock tick has occured so that the reload takes effect
+ # ensure that a clock tick has occurred so that the reload takes effect
sleep 1
cp ns2/blv3.tld2.db.in ns2/bl.tld2.db
goodsoa="rpz.tld2. hostmaster.ns.tld2. 3 3600 1200 604800 60"
zone "private.nsec" { type master; file "private.nsec.db.signed"; };
/*
- * The contents of nsec3 and private.nsec3 are specially choosen to
+ * The contents of nsec3 and private.nsec3 are specially chosen to
* have separate NSEC3 records for the "no qname proof" and the
* "closest encloser proof".
*/
IDS_BAD_PRIVILEGES "This user cannot acquire the privileges necessary to install BIND. Please ensure you are logged on as a member of the Administrators group."
IDS_ERR_CREATE_DIR "An error occurred while creating directory %s\n(%s)"
IDS_VERSION "Version %s"
- IDS_ERR_CREATE_KEY "An error occured while creating registry keys\n(%s)"
+ IDS_ERR_CREATE_KEY "An error occurred while creating registry keys\n(%s)"
END
STRINGTABLE
BEGIN
- IDS_ERR_SET_VALUE "An error occured while setting registry key values\n(%s)"
+ IDS_ERR_SET_VALUE "An error occurred while setting registry key values\n(%s)"
IDS_NO_VERSION "Version Unknown"
IDS_EXISTING_NEWER "%s\nThe existing version of this file is newer than the version being installed.\nDo you wish to overwrite the existing file?"
IDS_FILE_BAD "Could not retrieve version info for file %s. Do you wish to continue?\n(Continuing may overwrite a newer version of the file) "
}
catch(DWORD dw) {
CString msg;
- msg.Format("A fatal error occured\n(%s)", GetErrMessage(dw));
+ msg.Format("A fatal error occurred\n(%s)", GetErrMessage(dw));
MessageBox(msg);
SetCurrent(IDS_CLEANUP);
FailedInstall();
$as_echo "" >&6; }
for dd in $bdbdirs
do
- # Skip nonexistant directories
+ # Skip nonexistent directories
if test ! -d "$dd"
then
continue
AC_MSG_RESULT( )
for dd in $bdbdirs
do
- # Skip nonexistant directories
+ # Skip nonexistent directories
if test ! -d "$dd"
then
continue
if (*endp != '\0' || pd->ttl < 0) {
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
- "BDB driver ttl must be a postive number");
+ "BDB driver ttl must be a positive number");
return ISC_R_FAILURE;
}
if (*endp != '\0' || pd->ttl < 0) {
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
- "bdbhpt driver ttl must be a postive number");
+ "bdbhpt driver ttl must be a positive number");
return ISC_R_FAILURE;
}
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"Filesystem driver "
- "ttl must be a postive number");
+ "ttl must be a positive number");
}
/* pass data back to Bind */
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"Directory split count must be zero (0) "
- "or a postive number");
+ "or a positive number");
}
/* get and store our separator character */
DNS_LOGMODULE_DLZ,
ISC_LOG_ERROR,
"LDAP driver ttl must "
- "be a postive number");
+ "be a positive number");
goto cleanup;
}
break;
DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"mysql driver ttl must be "
- "a postive number");
+ "a positive number");
}
result = dns_sdlz_putrr(lookup, safeGet(row[1]), ttl,
safeGet(row[2]));
DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"mysql driver ttl must be "
- "a postive number");
+ "a positive number");
}
/* ok, now tell Bind about it. */
result = dns_sdlz_putrr(lookup, safeGet(row[1]),
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"mysql driver ttl must be "
- "a postive number");
+ "a positive number");
}
if (fields == 4) {
/* tell Bind about it. */
DNS_LOGMODULE_DLZ,
ISC_LOG_ERROR,
"Odbc driver ttl must "
- "be a postive number");
+ "be a positive number");
result = ISC_R_FAILURE;
} else {
/*
DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"Odbc driver ttl must be "
- "a postive number");
+ "a positive number");
result = ISC_R_FAILURE;
} else {
/* successful converting TTL, tell Bind */
DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"Postgres driver ttl must be "
- "a postive number");
+ "a positive number");
}
/* ok, now tell Bind about it. */
result = dns_sdlz_putrr(lookup, PQgetvalue(rs, i, 1),
isc_log_write(dns_lctx, DNS_LOGCATEGORY_DATABASE,
DNS_LOGMODULE_DLZ, ISC_LOG_ERROR,
"Postgres driver ttl must be "
- "a postive number");
+ "a positive number");
}
if (fields == 4) {
/* tell Bind about it. */
if (*endp != '\0' || ttl < 0)
cd->log(ISC_LOG_ERROR,
"Filesystem driver "
- "ttl must be a postive number");
+ "ttl must be a positive number");
/* pass data back to Bind */
if (dir_list == NULL)
if (*endp != '\0' || cd->splitcnt < 0)
cd->log(ISC_LOG_ERROR,
"Directory split count must be zero (0) "
- "or a postive number");
+ "or a positive number");
/* get and store our separator character */
cd->separator = *argv[5];
if (*endp != '\0' || ttl < 0) {
db->log(ISC_LOG_ERROR,
"LDAP driver ttl must "
- "be a postive number");
+ "be a positive number");
goto cleanup;
}
break;
if (*endp != '\0' || ttl < 0) {
db->log(ISC_LOG_ERROR,
"MySQL module ttl must be "
- "a postive number");
+ "a positive number");
return (ISC_R_FAILURE);
}
if (*endp != '\0' || ttl < 0) {
db->log(ISC_LOG_ERROR,
"MySQL module ttl must be "
- "a postive number");
+ "a positive number");
free(tmpString);
return (ISC_R_FAILURE);
}
if (*endp != '\0' || ttl < 0) {
db->log(ISC_LOG_ERROR,
"MySQL module ttl must be "
- "a postive number");
+ "a positive number");
result = ISC_R_FAILURE;
goto cleanup;
}
if (*endp != '\0' || ttl < 0) {
db->log(ISC_LOG_ERROR,
"SQLite3 module: TTL must be "
- "a postive number");
+ "a positive number");
return (ISC_R_FAILURE);
}
if (*endp != '\0' || ttl < 0) {
db->log(ISC_LOG_ERROR,
"SQLite3 module: TTL must be "
- "a postive number");
+ "a positive number");
free(tmpString);
return (ISC_R_FAILURE);
}
if (*endp != '\0' || ttl < 0) {
db->log(ISC_LOG_ERROR,
"SQLite3 module: TTL must be "
- "a postive number");
+ "a positive number");
result = ISC_R_FAILURE;
goto cleanup;
}
uint64_t xrcount; /* received counters */
/*
- * statictics counters and accumulators
+ * statistics counters and accumulators
*/
uint64_t recverr, tooshort, locallimit; /* error counters */
(void) pthread_cancel(sender);
(void) pthread_cancel(receiver);
- /* main statictics */
+ /* main statistics */
printf("connect: %llu, sent: %llu, received: %llu\n",
(unsigned long long) xccount,
(unsigned long long) xscount,
/*
* identify_directive:
- * Gives us a numerical value equivelant for a directive string
+ * Gives us a numerical value equivalent for a directive string
*
* Returns the value for the directive
* Returns -1 if not a valid directive
/*
* process_single_response:
- * Receive from the given socket & process an invididual response packet.
+ * Receive from the given socket & process an individual response packet.
* Remove it from the list of open queries (status[]) and decrement the
* number of outstanding queries if it matches an open query.
*/
* Returns a valid 'DB' handle.
*
* Requires:
- * 'file' is a valid non-existant path.
+ * 'file' is a valid non-existent path.
*/
DB *
bdb_init(const char *file)
zone2ldap will parse a complete BIND 9 format DNS zone file, and load
the contents into an LDAP directory, for use with the LDAP sdb back-end.
-If the zone already exists, zone2ldap will exit succesfully. If the zone does not exists, or
+If the zone already exists, zone2ldap will exit successfully. If the zone does not exists, or
partially exists, zone2ldap will attempt to add all/missing zone data.
.SS Options
base is.
.TP
-v
-Print version information, and immediatly exit.
+Print version information, and immediately exit.
.TP
-f
Zone file. Bind 9.1 compatible zone file, from which zone information will be read.
.TP
-h
LDAP Directory host. This is the hostname of the LDAP system you wish to store zone information on.
-An LDAP server should be listening on port 389 of the target system. This may be ommited, and will default
+An LDAP server should be listening on port 389 of the target system. This may be omitted, and will default
to "localhost".
.TP
-c
sprintf (fullbasedn, "%s", ctmp);
}
result = ldap_add_s (conn, fullbasedn, base_attrs);
- ldap_result_check ("intial ldap_add_s", fullbasedn, result);
+ ldap_result_check ("initial ldap_add_s", fullbasedn, result);
}
}
* If locate_by_dn does not return, alloc a new ldap_info structure, and then
* calloc a LDAPMod array, fill in the default "everyone needs this" information,
* including object classes and dc's. If it locate_by_dn does return, then we'll
- * realloc for more LDAPMod structs, and appened the new data. If an LDAPMod exists
+ * realloc for more LDAPMod structs, and append the new data. If an LDAPMod exists
* for the parameter we're adding, then we'll realloc the mod_values array, and
* add the new value to the existing LDAPMod. Finnaly, it assures linkage exists
* within the Run queue linked ilst*/
send it. This fits with the principle of being liberal with
what you accept and strict with what you send.
- There are a few cases where it does not make sence to accept
+ There are a few cases where it does not make sense to accept
compression pointers of a given type. i.e. the first domain name
in a message, local compression pointers in the ownername of a RR
or in a question.
/*
* If too many recv()'s are already running, just return.
*
- * If noone is attached to us, just return.
+ * If no one is attached to us, just return.
*
* Allocate a new buffer to receive into.
* If no more buffers:
See COPYRIGHT in the source root or http://isc.org/copyright.html for terms.
-$Id: lwres,v 1.6 2004/03/05 05:04:46 marka Exp $
-
This document describes the bind v9 lightweight resolver.
WHY LWRES?
API
-The simpliest interface is to call lwres_getaddrsbyname() or
+The simplest interface is to call lwres_getaddrsbyname() or
lwres_getnamebyaddr(), both of which are blocking calls. That is, a
packet is transmitted to the local lightweight resolver, and the call
will not return until a response is received or the timeout period
was), BIND style always keeps indication of the function's success or
failure separate from its returned data. Similarly, the C library
function `fread()` returns the number of characters read and then
-depends on `feof()` and `ferror()` to determine whether an error occured
+depends on `feof()` and `ferror()` to determine whether an error occurred
or the end of file was reached, but BIND's version uses result codes:
char buffer[BUFSIZ];
there? (BIND is still run on some operating systems released in the
1990s.) Is its behavior the same on all platforms? Is its signature
the same? Are integer parameters the same size and signedness? Does it
-alwasy return the same values on success, and set the same `errno` codes
+always return the same values on success, and set the same `errno` codes
on failure?
If there is a chance the library call may not be completely portable,
result = isc_taskmgr_excltask(adb->taskmgr, &adb->excl);
if (result != ISC_R_SUCCESS) {
DP(DEF_LEVEL, "adb: task-exclusive mode unavailable, "
- "intializing table sizes to %u\n",
+ "initializing table sizes to %u\n",
nbuckets[11]);
adb->nentries = nbuckets[11];
adb->nnames = nbuckets[11];
result = open_socket(sockmgr, &localaddr_bound,
0, &sock, NULL);
/*
- * Continue if the port choosen is already in use
+ * Continue if the port chosen is already in use
* or the OS has reserved it.
*/
if (result == ISC_R_NOPERM ||
return (ISC_R_SUCCESS);
/*
- * Unconditionaly remove CDS/DNSKEY records for removed keys.
+ * Unconditionally remove CDS/DNSKEY records for removed keys.
*/
for (key = ISC_LIST_HEAD(*rmkeys);
key != NULL;
dns_adb_setcookie(dns_adb_t *adb, dns_adbaddrinfo_t *addr,
const unsigned char *cookie, size_t len);
/*%<
- * Record the COOKIE associated with this addresss. If
+ * Record the COOKIE associated with this address. If
* cookie is NULL or len is zero the recorded COOKIE is cleared.
*
* Requires:
* information regarding copyright ownership.
*/
-/* $Id$ */
-
#ifndef DNS_DB_H
#define DNS_DB_H 1
isc_result_t
dns_db_getnsec3parameters(dns_db_t *db, dns_dbversion_t *version,
dns_hash_t *hash, uint8_t *flags,
- uint16_t *interations,
+ uint16_t *iterations,
unsigned char *salt, size_t *salt_length);
/*%<
* Get the NSEC3 parameters that are associated with this zone.
/*!
* \brief
- * Context for intializing a dyndb module.
+ * Context for initializing a dyndb module.
*
* This structure passes global server data to which a dyndb
* module will need access -- the server memory context, hash
* 'parameters' contains the driver configuration text. 'dctx' is the
* initialization context set up in dns_dyndb_createctx().
*
- * '*instp' must be set to the driver instance handle if the functino
+ * '*instp' must be set to the driver instance handle if the function
* is successful.
*
* Returns:
void
dns_keynode_detachall(isc_mem_t *mctx, dns_keynode_t **target);
/*%<
- * Detach a keynode and all its succesors.
+ * Detach a keynode and all its successors.
*/
isc_result_t
* zone. So a response to an explicit query for this type should be
* excluded from delegation-only fixup.
*
- * SOA, NS, and DNSKEY can only exist at a zone apex, so a postive
+ * SOA, NS, and DNSKEY can only exist at a zone apex, so a positive
* response to a query for these types can never violate the
* delegation-only assumption: if the query name is below a
* zone cut, the response should normally be a referral, which should
query->ednsversion = -1;
/*
- * Record the UDP EDNS size choosen.
+ * Record the UDP EDNS size chosen.
*/
query->udpsize = udpsize;
/*
* GeoIP best-database matching
- * (With no specified databse and a city database available, answers
+ * (With no specified database and a city database available, answers
* should come from city database. With city database unavailable, region
* database. Region database unavailable, country database.)
*/
*
* 'out' MUST point to an array of at least len * 2 + 1
*
- * Return values: ISC_R_SUCCESS if the operation is sucessful
+ * Return values: ISC_R_SUCCESS if the operation is successful
*/
static isc_result_t
tohexstr(unsigned char *d, unsigned int len, char *out, size_t out_size) {
TEXT_INVALID("256 1 0"), /* precedence out of range */
/* IPv4 gateway */
- TEXT_INVALID("0 0 1"), /* no addresss */
+ TEXT_INVALID("0 0 1"), /* no address */
TEXT_VALID("0 0 1 0.0.0.0"),
TEXT_INVALID("0 0 1 0.0.0.0 x"), /* extra */
- TEXT_INVALID("0 0 1 0.0.0.0.0"), /* bad addresss */
- TEXT_INVALID("0 0 1 ::"), /* bad addresss */
- TEXT_INVALID("0 0 1 ."), /* bad addresss */
+ TEXT_INVALID("0 0 1 0.0.0.0.0"), /* bad address */
+ TEXT_INVALID("0 0 1 ::"), /* bad address */
+ TEXT_INVALID("0 0 1 ."), /* bad address */
/* IPv6 gateway */
- TEXT_INVALID("0 0 2"), /* no addresss */
+ TEXT_INVALID("0 0 2"), /* no address */
TEXT_VALID("0 0 2 ::"),
TEXT_INVALID("0 0 2 :: xx"), /* extra */
- TEXT_INVALID("0 0 2 0.0.0.0"), /* bad addresss */
- TEXT_INVALID("0 0 2 ."), /* bad addresss */
+ TEXT_INVALID("0 0 2 0.0.0.0"), /* bad address */
+ TEXT_INVALID("0 0 2 ."), /* bad address */
/* hostname gateway */
TEXT_INVALID("0 0 3"), /* no name */
/*
* walk nsec3param rdataset making a list of parameters (note that
* multiple simultaneous nsec3 chains are annoyingly legal -- this
- * is why we use an nsec3list, even tho we will usually only have
+ * is why we use an nsec3list, even though we will usually only have
* one)
*/
for (result = dns_rdataset_first(&rdataset);
* Extract some number of bytes from the random pool, decreasing the
* estimate of randomness as each byte is extracted.
*
- * Do this by stiring the pool and returning a part of hash as randomness.
+ * Do this by stirring the pool and returning a part of hash as randomness.
* Note that no secrets are given away here since parts of the hash are
* xored together before returned.
*
* information regarding copyright ownership.
*/
-/* $Id: entropy.h,v 1.35 2009/10/19 02:37:08 marka Exp $ */
-
#ifndef ISC_ENTROPY_H
#define ISC_ENTROPY_H 1
* \brief Extract data from the entropy pool. This may load the pool from various
* sources.
*
- * Do this by stiring the pool and returning a part of hash as randomness.
+ * Do this by stirring the pool and returning a part of hash as randomness.
* Note that no secrets are given away here since parts of the hash are
* xored together before returned.
*
* probable that something could be cobbled together in NT 5 with inheritance,
* it can't really be done in NT 4 as a single property that you could
* set on a directory. You'd need to coordinate something with file creation
- * so that every file created had DELETE set for the owner but noone else.
+ * so that every file created had DELETE set for the owner but no one else.
*
* On Unix systems, setting #ISC_FSACCESS_LISTDIRECTORY sets READ.
* ... setting either #ISC_FSACCESS_CREATECHILD or #ISC_FSACCESS_DELETECHILD
* useful in incremental hashing; for example, a previously hashed
* value for 'com' can be used as input when hashing 'example.com'.
*
- * This is a new variant of isc_hash_calc() and will supercede
+ * This is a new variant of isc_hash_calc() and will supersede
* isc_hash_calc() eventually.
*
* 'data' is the data to be hashed.
*\li #ISC_R_NOMEMORY Resource limit: Out of memory
*/
-/* Attention: next four comments PRECEED code */
+/* Attention: next four comments PRECEDE code */
/*!
* \brief
* Write a message to the log channels.
* information regarding copyright ownership.
*/
-/* $Id: ondestroy.h,v 1.14 2007/06/19 23:47:18 tbox Exp $ */
-
#ifndef ISC_ONDESTROY_H
#define ISC_ONDESTROY_H 1
* Dispatches the event(s) to the task(s) that were given in
* isc_ondestroy_register call(s) (done via calls to
* isc_task_sendanddetach()). Before dispatch, the sender value of each
- * event structure is set to the value of the sender paramater. The
+ * event structure is set to the value of the sender parameter. The
* internal structures of the ondest parameter are cleaned out, so no other
* cleanup is needed.
*/
@ISC_PLATFORM_USETHREADS@
/*
- * Defined if unistd.h does not cause fd_set to be delared.
+ * Defined if unistd.h does not cause fd_set to be declared.
*/
@ISC_PLATFORM_NEEDSYSSELECTH@
#ifdef ISC_PLATFORM_BRACEPTHREADONCEINIT
/*!
- * This accomodates systems that define PTHRAD_ONCE_INIT improperly.
+ * This accommodates systems that define PTHRAD_ONCE_INIT improperly.
*/
#define ISC_ONCE_INIT { PTHREAD_ONCE_INIT }
#else
*
* 'out' MUST point to an array of at least len * 2 + 1
*
- * Return values: ISC_R_SUCCESS if the operation is sucessful
+ * Return values: ISC_R_SUCCESS if the operation is successful
*/
static isc_result_t
tohexstr(unsigned char *d, unsigned int len, char *out, size_t out_size) {
random_test(runs);
}
-/* Block frequncy test for the RNG */
+/* Block frequency test for the RNG */
static void
isc_rng_blockfrequency_bytes(void **state) {
UNUSED(state);
#define ISC_STRERRORSIZE 128
/*
- * Provide a thread safe wrapper to strerrror().
+ * Provide a thread safe wrapper to strerror().
*
* Requires:
* 'buf' to be non NULL.
/*
* Maybe free the socket.
*
- * This function will verify tht the socket is no longer in use in any way,
+ * This function will verify that the socket is no longer in use in any way,
* either internally or externally. This is the only place where this
* check is to be made; if some bit of code believes that IT is done with
* the socket (e.g., some reference counter reaches zero), it should call
snprintf(where, sizeof(where), "%s: ", pctx->buf_name);
len = vsnprintf(message, sizeof(message), format, args);
-#define ELIPSIS " ... "
+#define ELLIPSIS " ... "
if (len >= sizeof(message)) {
- message[sizeof(message) - sizeof(ELIPSIS)] = 0;
- strlcat(message, ELIPSIS, sizeof(message));
+ message[sizeof(message) - sizeof(ELLIPSIS)] = 0;
+ strlcat(message, ELLIPSIS, sizeof(message));
}
if ((flags & (CFG_LOG_NEAR|CFG_LOG_BEFORE|CFG_LOG_NOPREP)) != 0) {
* information regarding copyright ownership.
*/
-/* $Id: platform.h.in,v 1.21 2007/06/19 23:47:23 tbox Exp $ */
-
/*! \file */
#ifndef LWRES_PLATFORM_H
@LWRES_PLATFORM_HAVEINADDR6@
/*
- * Defined if unistd.h does not cause fd_set to be delared.
+ * Defined if unistd.h does not cause fd_set to be declared.
*/
@LWRES_PLATFORM_NEEDSYSSELECTH@
* information regarding copyright ownership.
*/
-/* $Id: lwbuffer.c,v 1.15 2007/06/19 23:47:22 tbox Exp $ */
-
/*! \file */
/**
* b-c == optional active region.
* \endverbatim
*
- * lwres_buffer_init() initializes the lwres_buffer_t *b and assocates it
+ * lwres_buffer_init() initializes the lwres_buffer_t *b and associates it
* with the memory region of size length bytes starting at location base.
*
* lwres_buffer_invalidate() marks the buffer *b as invalid. Invalidating
return (p);
}
-/*% intializes data structure for subsequent config parsing. */
+/*% initializes data structure for subsequent config parsing. */
void
lwres_conf_init(lwres_context_t *ctx) {
int i;
* information regarding copyright ownership.
*/
-/* $Id: lwresutil.c,v 1.34 2007/06/19 23:47:22 tbox Exp $ */
-
/*! \file */
/**
* they are controlled through the \link lwres_gabn.c lwres_gabn*\endlink functions.
*
* The lightweight resolver uses lwres_getaddrsbyname() to perform
- * foward lookups. Hostname name is looked up using the resolver
+ * forward lookups. Hostname name is looked up using the resolver
* context ctx for memory allocation. addrtypes is a bitmask
* indicating which type of addresses are to be looked up. Current
* values for this bitmask are #LWRES_ADDRTYPE_V4 for IPv4 addresses
\fBlwres_buffer_init()\fR
initializes the
\fBlwres_buffer_t\fR\fI*b\fR
-and assocates it with the memory region of size
+and associates it with the memory region of size
\fIlength\fR
bytes starting at location
\fIbase\&.\fR
initializes the
<type>lwres_buffer_t</type>
<parameter>*b</parameter>
- and assocates it with the memory region of size
+ and associates it with the memory region of size
<parameter>length</parameter>
bytes starting at location
<parameter>base.</parameter>
initializes the
<span class="type">lwres_buffer_t</span>
<em class="parameter"><code>*b</code></em>
- and assocates it with the memory region of size
+ and associates it with the memory region of size
<em class="parameter"><code>length</code></em>
bytes starting at location
<em class="parameter"><code>base.</code></em>
.PP
\fBpktflags\fR
.RS 4
-library\-defined flags for this packet: for instance whether the packet is a request or a reply\&. Flag values can be set, but not defined by the caller\&. This field is filled in by the application wit the exception of the LWRES_LWPACKETFLAG_RESPONSE bit, which is set by the library in the lwres_gabn_*() and lwres_gnba_*() calls\&.
+library\-defined flags for this packet: for instance whether the packet is a request or a reply\&. Flag values can be set, but not defined by the caller\&. This field is filled in by the application with the exception of the LWRES_LWPACKETFLAG_RESPONSE bit, which is set by the library in the lwres_gabn_*() and lwres_gnba_*() calls\&.
.RE
.PP
\fBserial\fR
is a request or a reply. Flag values can be set, but not defined
by
the caller.
- This field is filled in by the application wit the exception of
+ This field is filled in by the application with the exception of
the
LWRES_LWPACKETFLAG_RESPONSE bit, which is set by the library in
the
is a request or a reply. Flag values can be set, but not defined
by
the caller.
- This field is filled in by the application wit the exception of
+ This field is filled in by the application with the exception of
the
LWRES_LWPACKETFLAG_RESPONSE bit, which is set by the library in
the
.\" See the COPYRIGHT file distributed with this work for additional
.\" information regarding copyright ownership.
.\"
-.\" $Id: resolver.5,v 1.8 2007/06/19 23:47:23 tbox Exp $
-.\"
.Dd Jun 30, 2000
.Dt RESOLVER 5
.Os BIND9 9
.It Li nameserver
Internet address of a name server that the resolver should query.
The IP address of the server can be supplied in the usual notation:
-either in dotted-decimal form for an IPv4 addess or in double colon
+either in dotted-decimal form for an IPv4 address or in double colon
form described in RFC1884 for an IPv6 address.
Up to three nameserver directives can be listed.
See
* information regarding copyright ownership.
*/
-/* $Id: platform.h,v 1.7 2007/06/18 23:47:52 tbox Exp $ */
-
#ifndef LWRES_PLATFORM_H
#define LWRES_PLATFORM_H 1
/*@LWRES_PLATFORM_HAVEINADDR6@ */
/*
- * Defined if unistd.h does not cause fd_set to be delared.
+ * Defined if unistd.h does not cause fd_set to be declared.
*/
/*@LWRES_PLATFORM_NEEDSYSSELECTH@ */