From b73bdc823b63c0911907a771adc13e97db3d9a8b Mon Sep 17 00:00:00 2001 From: jmc Date: Mon, 26 Dec 2022 19:24:11 +0000 Subject: [PATCH] spelling fixes; from paul tagliamonte ok florian --- usr.bin/dig/lib/dns/include/dns/name.h | 4 ++-- usr.bin/dig/lib/dns/rdata/generic/naptr_35.c | 4 ++-- usr.bin/dig/lib/dns/rdata/generic/zonemd_63.c | 4 ++-- usr.bin/dig/lib/isc/include/isc/socket.h | 4 ++-- usr.bin/dig/lib/isc/regex.c | 2 +- usr.bin/dig/lib/lwres/lwconfig.c | 2 +- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/usr.bin/dig/lib/dns/include/dns/name.h b/usr.bin/dig/lib/dns/include/dns/name.h index aeb22252464..a1e35d4b342 100644 --- a/usr.bin/dig/lib/dns/include/dns/name.h +++ b/usr.bin/dig/lib/dns/include/dns/name.h @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: name.h,v 1.12 2020/09/14 08:40:43 florian Exp $ */ +/* $Id: name.h,v 1.13 2022/12/26 19:24:11 jmc Exp $ */ #ifndef DNS_NAME_H #define DNS_NAME_H 1 @@ -354,7 +354,7 @@ dns_name_equal(const dns_name_t *name1, const dns_name_t *name2); * \li Because it only needs to test for equality, dns_name_equal() can be * significantly faster than dns_name_fullcompare() or dns_name_compare(). * - * \li Offsets tables are not used in the comparision. + * \li Offset tables are not used in the comparison. * * \li It makes no sense for one of the names to be relative and the * other absolute. If both names are relative, then to be meaningfully diff --git a/usr.bin/dig/lib/dns/rdata/generic/naptr_35.c b/usr.bin/dig/lib/dns/rdata/generic/naptr_35.c index 13064b48e39..3249fefd729 100644 --- a/usr.bin/dig/lib/dns/rdata/generic/naptr_35.c +++ b/usr.bin/dig/lib/dns/rdata/generic/naptr_35.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: naptr_35.c,v 1.13 2020/09/14 08:40:43 florian Exp $ */ +/* $Id: naptr_35.c,v 1.14 2022/12/26 19:24:11 jmc Exp $ */ /* Reviewed: Thu Mar 16 16:52:50 PST 2000 by bwelling */ @@ -27,7 +27,7 @@ /* * Check the wire format of the Regexp field. - * Don't allow embeded NUL's. + * Don't allow embedded NUL's. */ static inline isc_result_t txt_valid_regex(const unsigned char *txt) { diff --git a/usr.bin/dig/lib/dns/rdata/generic/zonemd_63.c b/usr.bin/dig/lib/dns/rdata/generic/zonemd_63.c index cb9c3ca7657..dc24294172a 100644 --- a/usr.bin/dig/lib/dns/rdata/generic/zonemd_63.c +++ b/usr.bin/dig/lib/dns/rdata/generic/zonemd_63.c @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: zonemd_63.c,v 1.1 2021/04/02 06:37:40 florian Exp $ */ +/* $Id: zonemd_63.c,v 1.2 2022/12/26 19:24:11 jmc Exp $ */ /* RFC8976 */ @@ -84,7 +84,7 @@ fromwire_zonemd(ARGS_FROMWIRE) { /* * serial: 4 * scheme: 1 - * hash algorith: 1 + * hash algorithm: 1 * digest: at least 1 */ if (sr.length < 7) diff --git a/usr.bin/dig/lib/isc/include/isc/socket.h b/usr.bin/dig/lib/isc/include/isc/socket.h index 0a5b143aa5c..96263b56d71 100644 --- a/usr.bin/dig/lib/isc/include/isc/socket.h +++ b/usr.bin/dig/lib/isc/include/isc/socket.h @@ -14,7 +14,7 @@ * PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: socket.h,v 1.7 2020/09/15 11:47:42 florian Exp $ */ +/* $Id: socket.h,v 1.8 2022/12/26 19:24:11 jmc Exp $ */ #ifndef ISC_SOCKET_H #define ISC_SOCKET_H 1 @@ -248,7 +248,7 @@ isc_socket_cancel(isc_socket_t *sock, isc_task_t *task, * * \li "task" is NULL or a valid task * - * "how" is a bitmask describing the type of cancelation to perform. + * "how" is a bitmask describing the type of cancellation to perform. * The type ISC_SOCKCANCEL_ALL will cancel all pending I/O on this * socket. * diff --git a/usr.bin/dig/lib/isc/regex.c b/usr.bin/dig/lib/isc/regex.c index 9ff572460e8..d86faf462b9 100644 --- a/usr.bin/dig/lib/isc/regex.c +++ b/usr.bin/dig/lib/isc/regex.c @@ -122,7 +122,7 @@ isc_regex_validate(const char *c) { --group; ++c; break; - case '|': /* alternative seperator */ + case '|': /* alternative separator */ if (!have_atom) return(-1); have_atom = 0; diff --git a/usr.bin/dig/lib/lwres/lwconfig.c b/usr.bin/dig/lib/lwres/lwconfig.c index da3b0ea05ef..d94be248674 100644 --- a/usr.bin/dig/lib/lwres/lwconfig.c +++ b/usr.bin/dig/lib/lwres/lwconfig.c @@ -153,7 +153,7 @@ lwres_resetaddr(lwres_addr_t *addr) { memset(addr, 0, sizeof(*addr)); } -/*% intializes data structure for subsequent config parsing. */ +/*% initializes data structure for subsequent config parsing. */ void lwres_conf_init(lwres_conf_t *confdata, int lwresflags) { int i; -- 2.20.1