From 4b2aea43199df3a12d88b3b682e10534a5fc2d91 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 13 Apr 2022 17:39:29 -0700 Subject: [PATCH] non-substantive spelling fixes --- Changelog | 14 +++++++------- dname.c | 2 +- dnssec_zone.c | 4 ++-- doc/API-header.xml | 2 +- doc/API.xml | 2 +- examples/ldns-testns.1 | 4 ++-- examples/nsd-test/nsd-ldnsd.c | 2 +- ldns/dane.h | 2 +- ldns/dnssec_sign.h | 2 +- ldns/parse.h | 12 ++++++------ packaging/fedora/ldns.spec | 2 +- pcat/pcat-diff.c | 4 ++-- rdata.c | 2 +- rr.c | 2 +- rr_functions.c | 4 ++-- zone.c | 2 +- 16 files changed, 31 insertions(+), 31 deletions(-) diff --git a/Changelog b/Changelog index 538ba2b73..c0c7c5f3c 100644 --- a/Changelog +++ b/Changelog @@ -55,7 +55,7 @@ Thanks Felipe Gasper * PR #126: Link with libldns.la in Makefile.in. Thanks orbea - * PR #127: Addes option -Q to drill to give short answer. + * PR #127: Added option -Q to drill to give short answer. Thanks niknah * PR #133: Update m4 files for python modules. Thanks Petr Menšík @@ -243,7 +243,7 @@ Thanks William King * Use OpenSSL DANE functions for verification (unless explicitly disabled with --disable-dane-ta-usage). - * Bumb .so version + * Bump .so version * Include OPENPGPKEY RR type by default * rdata processing for SMIMEA RR type * Fix crash in displaying TLSA RR's. @@ -313,7 +313,7 @@ * bugfix #505: Manpage and usage output fixes (Thanks Tomas Hozza) * Adjust ldns_sha1() so that the input data is not modified (Thanks Marc Buijsman) - * Messages to stderr are now off by default and can be reenabled with + * Messages to stderr are now off by default and can be re-enabled with the --enable-stderr-msgs configure option. 1.6.16 2012-11-13 @@ -656,7 +656,7 @@ * --enable-gost : use the GOST algorithm (experimental). * Added some missing options to drill manpage * Some fixes to --without-ssl option - * Fixed quote parsing withing strings + * Fixed quote parsing within strings * Bitmask fix in EDNS handling * Fixed non-fqdn domain name completion for rdata field domain names of length 1 @@ -945,7 +945,7 @@ * -r was killed in favor of -o
which allows for a header bits setting (and maybe more in the future) - * DNSSEC is never automaticaly set, even when you query + * DNSSEC is never automatically set, even when you query for DNSKEY/RRSIG or DS. * Implement a crude RTT check, it now distinguishes between reachable and unreachable. @@ -1017,7 +1017,7 @@ * char *_when was removed from the ldns_pkt structure 18 Oct 2005: 1.0.0: ldns-team - * Commited a patch from Håkan Olsson + * Committed a patch from Håkan Olsson * Added UPDATE support (Jakob Schlyter and Håkan Olsson) * License change: ldns is now BSD licensed * ldns now depends on SSL @@ -1059,7 +1059,7 @@ 23 May 2005: 0.60: ldns-team * Removed config.h from the header installed files - (you're not supposed to include that in a libary) + (you're not supposed to include that in a library) * Further tweaking - DNSSEC signing/verification works - Assorted bug fixes and tweaks (memory management) diff --git a/dname.c b/dname.c index 17afe1d33..4f311ee29 100644 --- a/dname.c +++ b/dname.c @@ -3,7 +3,7 @@ * * dname specific rdata implementations * A dname is a rdf structure with type LDNS_RDF_TYPE_DNAME - * It is not a /real/ type! All function must therefor check + * It is not a /real/ type! All function must therefore check * for LDNS_RDF_TYPE_DNAME. * * a Net::DNS like library for C diff --git a/dnssec_zone.c b/dnssec_zone.c index 395722550..7be6791e7 100644 --- a/dnssec_zone.c +++ b/dnssec_zone.c @@ -631,7 +631,7 @@ ldns_dnssec_zone_new_frm_fp_l(ldns_dnssec_zone** z, FILE* fp, const ldns_rdf* or nsec3_ents (where ent is e.n.t.; i.e. empty non terminal) will hold the NSEC3s that still didn't have a matching name in the zone tree, even after all names were read. They can only match - after the zone is equiped with all the empty non terminals. */ + after the zone is equipped with all the empty non terminals. */ ldns_rbtree_t todo_nsec3_ents; ldns_rbnode_t *new_node; ldns_rr_list* todo_nsec3_rrsigs = ldns_rr_list_new(); @@ -705,7 +705,7 @@ ldns_dnssec_zone_new_frm_fp_l(ldns_dnssec_zone** z, FILE* fp, const ldns_rdf* or my_ttl = ldns_rr_ttl(cur_rr); } /* When ttl is implicit, try to adhere to the rules as - * much as posssible. (also for compatibility with bind) + * much as possible. (also for compatibility with bind) * This was changed when fixing an issue with ZONEMD * which hashes the TTL too. */ diff --git a/doc/API-header.xml b/doc/API-header.xml index 937a9d7cc..eac42fc20 100644 --- a/doc/API-header.xml +++ b/doc/API-header.xml @@ -97,7 +97,7 @@ Further more it is to be expected that lDNS will depend on OpenSSL for its cryptography. -As said, lDNS is modelled after Net::DNS, therefor its application API +As said, lDNS is modelled after Net::DNS, therefore its application API looks very much like the one used for Net::DNS. Some modification are made of course, because not all functionality of Perl can be caught in C. diff --git a/doc/API.xml b/doc/API.xml index 3438b5949..3d873d88f 100644 --- a/doc/API.xml +++ b/doc/API.xml @@ -97,7 +97,7 @@ Further more it is to be expected that lDNS will depend on OpenSSL for its cryptography. -As said, lDNS is modelled after Net::DNS, therefor its application API +As said, lDNS is modelled after Net::DNS, therefore its application API looks very much like the one used for Net::DNS. Some modification are made of course, because not all functionality of Perl can be caught in C. diff --git a/examples/ldns-testns.1 b/examples/ldns-testns.1 index c8173e5d1..e21bcf08a 100644 --- a/examples/ldns-testns.1 +++ b/examples/ldns-testns.1 @@ -1,7 +1,7 @@ .TH ldns-testns 1 "14 Dec 2006" .SH NAME ldns-testns \- simple fake nameserver tool -.SH SYNOPSYS +.SH SYNOPSIS .B ldns-testns [ .IR OPTION @@ -11,7 +11,7 @@ ldns-testns \- simple fake nameserver tool .SH DESCRIPTION \fBldns-testns\fR can be used to provide answers to DNS queries for testing. The answers are premade, and can be tailored to testing -needs. The answers can be wildly invalid or unparseable. +needs. The answers can be wildly invalid or unparsable. This program is a debugging aid. It is not efficient, especially with a long config file, but it can give any reply to any query. diff --git a/examples/nsd-test/nsd-ldnsd.c b/examples/nsd-test/nsd-ldnsd.c index d728866a2..938f0802c 100644 --- a/examples/nsd-test/nsd-ldnsd.c +++ b/examples/nsd-test/nsd-ldnsd.c @@ -83,7 +83,7 @@ main(int argc, char **argv) usage(stdout); exit(EXIT_FAILURE); } else { - fprintf(stderr, "quiting after %d qs\n", (int)maxcount); + fprintf(stderr, "quitting after %d qs\n", (int)maxcount); } } else { fprintf(stderr, "Use -Number for max count\n"); diff --git a/ldns/dane.h b/ldns/dane.h index 3bde54639..b5366e0e5 100644 --- a/ldns/dane.h +++ b/ldns/dane.h @@ -43,7 +43,7 @@ enum ldns_enum_tlsa_certificate_usage /** CA constraint */ LDNS_TLSA_USAGE_PKIX_TA = 0, LDNS_TLSA_USAGE_CA_CONSTRAINT = 0, - /** Sevice certificate constraint */ + /** Service certificate constraint */ LDNS_TLSA_USAGE_PKIX_EE = 1, LDNS_TLSA_USAGE_SERVICE_CERTIFICATE_CONSTRAINT = 1, /** Trust anchor assertion */ diff --git a/ldns/dnssec_sign.h b/ldns/dnssec_sign.h index cac47fbf8..4523811f1 100644 --- a/ldns/dnssec_sign.h +++ b/ldns/dnssec_sign.h @@ -113,7 +113,7 @@ ldns_dnssec_zone_mark_and_get_glue( * be taken into account separately. * * \param[in] zone the zone in which to mark the names - * \return LDNS_STATUS_OK on succesful completion, an error code otherwise + * \return LDNS_STATUS_OK on successful completion, an error code otherwise */ ldns_status ldns_dnssec_zone_mark_glue(ldns_dnssec_zone *zone); diff --git a/ldns/parse.h b/ldns/parse.h index e98fb95be..ba7edf567 100644 --- a/ldns/parse.h +++ b/ldns/parse.h @@ -112,9 +112,9 @@ ssize_t ldns_bget_token(ldns_buffer *b, char *token, const char *delim, size_t l * after the keyword + k_del until we hit d_del * \param[in] f file pointer to read from * \param[in] keyword keyword to look for - * \param[in] k_del keyword delimeter + * \param[in] k_del keyword delimiter * \param[out] data the data found - * \param[in] d_del the data delimeter + * \param[in] d_del the data delimiter * \param[in] data_limit maximum size the the data buffer * \return the number of character read */ @@ -125,9 +125,9 @@ ssize_t ldns_fget_keyword_data(FILE *f, const char *keyword, const char *k_del, * after the keyword + k_del until we hit d_del * \param[in] f file pointer to read from * \param[in] keyword keyword to look for - * \param[in] k_del keyword delimeter + * \param[in] k_del keyword delimiter * \param[out] data the data found - * \param[in] d_del the data delimeter + * \param[in] d_del the data delimiter * \param[in] data_limit maximum size the the data buffer * \param[in] line_nr pointer to an integer containing the current line number (for debugging purposes) @@ -140,9 +140,9 @@ ssize_t ldns_fget_keyword_data_l(FILE *f, const char *keyword, const char *k_del * after the keyword + k_del until we hit d_del * \param[in] b buffer pointer to read from * \param[in] keyword keyword to look for - * \param[in] k_del keyword delimeter + * \param[in] k_del keyword delimiter * \param[out] data the data found - * \param[in] d_del the data delimeter + * \param[in] d_del the data delimiter * \param[in] data_limit maximum size the the data buffer * \return the number of character read */ diff --git a/packaging/fedora/ldns.spec b/packaging/fedora/ldns.spec index 6ae8759fe..9b02cfd26 100644 --- a/packaging/fedora/ldns.spec +++ b/packaging/fedora/ldns.spec @@ -23,7 +23,7 @@ BuildRequires: python-devel, swig %endif %description -ldns is a library with the aim to simplify DNS programing in C. All +ldns is a library with the aim to simplify DNS programming in C. All lowlevel DNS/DNSSEC operations are supported. We also define a higher level API which allows a programmer to (for instance) create or sign packets. diff --git a/pcat/pcat-diff.c b/pcat/pcat-diff.c index 127c5f8df..4c57238e0 100644 --- a/pcat/pcat-diff.c +++ b/pcat/pcat-diff.c @@ -498,7 +498,7 @@ compare_to_file(ldns_pkt *qp, ldns_pkt *pkt1, ldns_pkt *pkt2) /* first, try query match */ - /* special case for unparseable queries */ + /* special case for unparsable queries */ if (!qp) { if (strncmp(query_match, "BADPACKET\n", 11) == 0 || strncmp(query_match, "*\n", 3) == 0 @@ -664,7 +664,7 @@ compare_to_file(ldns_pkt *qp, ldns_pkt *pkt1, ldns_pkt *pkt2) /* ok the query matches, now look at both answers */ /* special case if one packet is null (ie. one server - answers and one doesnt) */ + answers and one doesn't) */ if (same && (!pkt1 || !pkt2)) { if (strncmp(answer_match, "NOANSWER\n", 10) == 0 || strncmp(answer_match, "*\n", 3) == 0 diff --git a/rdata.c b/rdata.c index 4eebeafa5..3f899a217 100644 --- a/rdata.c +++ b/rdata.c @@ -624,7 +624,7 @@ ldns_octet(char *word, size_t *length) return LDNS_STATUS_DDD_OVERFLOW; } } else { - /* an espaced character, like \ ? + /* an escaped character, like \ ? * remove the '\' keep the rest */ *p = *++s; (*length)++; diff --git a/rr.c b/rr.c index 2f64c15da..eb24f3c9e 100644 --- a/rr.c +++ b/rr.c @@ -1323,7 +1323,7 @@ ldns_rr_set_push_rr(ldns_rr_list *rr_list, ldns_rr *rr) return false; } /* ok, still alive - check if the rr already - * exists - if so, dont' add it */ + * exists - if so, don't add it */ for(i = 0; i < rr_count; i++) { if(ldns_rr_compare( ldns_rr_list_rr(rr_list, i), rr) == 0) { diff --git a/rr_functions.c b/rr_functions.c index 8d72696b9..b9b9eae5b 100644 --- a/rr_functions.c +++ b/rr_functions.c @@ -24,7 +24,7 @@ * return a specific rdf * \param[in] type type of RR * \param[in] rr the rr itself - * \param[in] pos at which postion to get it + * \param[in] pos at which position to get it * \return the rdf sought */ static ldns_rdf * @@ -41,7 +41,7 @@ ldns_rr_function(ldns_rr_type type, const ldns_rr *rr, size_t pos) * \param[in] type type of RR * \param[in] rr the rr itself * \param[in] rdf the rdf to set - * \param[in] pos at which postion to set it + * \param[in] pos at which position to set it * \return true or false */ static bool diff --git a/zone.c b/zone.c index a3d534e5b..9a5d4c4e9 100644 --- a/zone.c +++ b/zone.c @@ -253,7 +253,7 @@ ldns_zone_new_frm_fp_l(ldns_zone **z, FILE *fp, const ldns_rdf *origin, my_ttl = ldns_rr_ttl(rr); } /* When ttl is implicit, try to adhere to the rules as - * much as posssible. (also for compatibility with bind) + * much as possible. (also for compatibility with bind) * This was changed when fixing an issue with ZONEMD * which hashes the TTL too. */