Skip to content

Commit c21d6af

Browse files
committed
Fix typos
1 parent 3fc9879 commit c21d6af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+87
-87
lines changed

README-Travis.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ If you are working from a developer machine you probably already have the necess
241241

242242
The fourth step builds OpenSSL and Expat. OpenSSL and Expat are built for iOS using the scripts `contrib/ios/install_openssl.sh` and `contrib/ios/install_expat.sh`. The scripts download, configure and install the latest release version of the libraries. The libraries are configured with `--prefix="$IOS_PREFIX"` so the headers are placed in `$IOS_PREFIX/include` directory, and the libraries are placed in the `$IOS_PREFIX/lib` directory.
243243

244-
`IOS_PREFIX` is the value `$HOME/$IOS_SDK-$IOS_CPU`. The scheme handles both iOS SDKs and cpu architectures so the pair recieves a unique installation directory. The libraries will be installed in `$HOME/iPhoneOS-armv7s`, `$HOME/iPhoneOS-arm64`, `$HOME/iPhoneSimulator-i386`, etc. For Autotools projects, the appropriate `PKG_CONFIG_PATH` is exported.
244+
`IOS_PREFIX` is the value `$HOME/$IOS_SDK-$IOS_CPU`. The scheme handles both iOS SDKs and cpu architectures so the pair receives a unique installation directory. The libraries will be installed in `$HOME/iPhoneOS-armv7s`, `$HOME/iPhoneOS-arm64`, `$HOME/iPhoneSimulator-i386`, etc. For Autotools projects, the appropriate `PKG_CONFIG_PATH` is exported.
245245

246246
`PKG_CONFIG_PATH` is an important variable. It is the userland equivalent to sysroot, and allows Autotools to find non-system headers and libraries for an architecture. Typical `PKG_CONFIG_PATH` are `$HOME/iPhoneOS-armv7s/lib/pkgconfig` and `$HOME/iPhoneOS-arm64/lib/pkgconfig`.
247247

aclocal.m4

+4-4
Original file line numberDiff line numberDiff line change
@@ -622,7 +622,7 @@ m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
622622
# LT_OUTPUT
623623
# ---------
624624
# This macro allows early generation of the libtool script (before
625-
# AC_OUTPUT is called), incase it is used in configure for compilation
625+
# AC_OUTPUT is called), in case it is used in configure for compilation
626626
# tests.
627627
AC_DEFUN([LT_OUTPUT],
628628
[: ${CONFIG_LT=./config.lt}
@@ -659,7 +659,7 @@ configured by $[0], generated by m4_PACKAGE_STRING.
659659
660660
Copyright (C) 2011 Free Software Foundation, Inc.
661661
This config.lt script is free software; the Free Software Foundation
662-
gives unlimited permision to copy, distribute and modify it."
662+
gives unlimited permission to copy, distribute and modify it."
663663
664664
while test 0 != $[#]
665665
do
@@ -2876,7 +2876,7 @@ linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
28762876
# Add ABI-specific directories to the system library path.
28772877
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
28782878
2879-
# Ideally, we could use ldconfig to report *all* directores which are
2879+
# Ideally, we could use ldconfig to report *all* directories which are
28802880
# searched for libraries, however this is still not possible. Aside from not
28812881
# being certain /sbin/ldconfig is available, command
28822882
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
@@ -9132,7 +9132,7 @@ dnl Check to see whether a particular set of modules exists. Similar to
91329132
dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
91339133
dnl
91349134
dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
9135-
dnl only at the first occurence in configure.ac, so if the first place
9135+
dnl only at the first occurrence in configure.ac, so if the first place
91369136
dnl it's called might be skipped (such as if it is within an "if", you
91379137
dnl have to call PKG_CHECK_EXISTS manually
91389138
AC_DEFUN([PKG_CHECK_EXISTS],

configure

+3-3
Original file line numberDiff line numberDiff line change
@@ -13600,7 +13600,7 @@ fi
1360013600
# Add ABI-specific directories to the system library path.
1360113601
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
1360213602

13603-
# Ideally, we could use ldconfig to report *all* directores which are
13603+
# Ideally, we could use ldconfig to report *all* directories which are
1360413604
# searched for libraries, however this is still not possible. Aside from not
1360513605
# being certain /sbin/ldconfig is available, command
1360613606
# 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
@@ -15324,7 +15324,7 @@ if test "$ac_res" != no; then :
1532415324
fi
1532515325

1532615326

15327-
# check wether strptime also works
15327+
# check whether strptime also works
1532815328

1532915329
# check some functions of the OS before linking libs (while still runnable).
1533015330
for ac_header in unistd.h
@@ -18777,7 +18777,7 @@ $as_echo "#define CLIENT_SUBNET 1" >>confdefs.h
1877718777
;;
1877818778
esac
1877918779

18780-
# check wether gost also works
18780+
# check whether gost also works
1878118781

1878218782
# Check whether --enable-gost was given.
1878318783
if test "${enable_gost+set}" = set; then :

dnscrypt/dnscrypt.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ dnscrypt_hrtime(void)
435435

436436
/**
437437
* Add the server nonce part to once.
438-
* The nonce is made half of client nonce and the seconf half of the server
438+
* The nonce is made half of client nonce and the second half of the server
439439
* nonce, both of them of size crypto_box_HALF_NONCEBYTES.
440440
* \param[in] nonce: a uint8_t* of size crypto_box_NONCEBYTES
441441
*/
@@ -674,7 +674,7 @@ dnsc_find_cert(struct dnsc_env* dnscenv, struct sldns_buffer* buffer)
674674
/**
675675
* Insert local-zone and local-data into configuration.
676676
* In order to be able to serve certs over TXT, we can reuse the local-zone and
677-
* local-data config option. The zone and qname are infered from the
677+
* local-data config option. The zone and qname are inferred from the
678678
* provider_name and the content of the TXT record from the certificate content.
679679
* returns the number of certificate TXT record that were loaded.
680680
* < 0 in case of error.

dnscrypt/dnscrypt.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@ void dnsc_delete(struct dnsc_env *env);
114114

115115
/**
116116
* handle a crypted dnscrypt request.
117-
* Determine wether or not a query is coming over the dnscrypt listener and
117+
* Determine whether or not a query is coming over the dnscrypt listener and
118118
* attempt to uncurve it or detect if it is a certificate query.
119119
* return 0 in case of failure.
120120
*/
121121
int dnsc_handle_curved_request(struct dnsc_env* dnscenv,
122122
struct comm_reply* repinfo);
123123
/**
124124
* handle an unencrypted dnscrypt request.
125-
* Determine wether or not a query is going over the dnscrypt channel and
125+
* Determine whether or not a query is going over the dnscrypt channel and
126126
* attempt to curve it unless it was not crypted like when it is a
127127
* certificate query.
128128
* \return 0 in case of failure.

dnstap/dtstream.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ dt_msg_queue_submit(struct dt_msg_queue* mq, void* buf, size_t len)
251251
entry->buf = buf;
252252
entry->len = len;
253253

254-
/* aqcuire lock */
254+
/* acquire lock */
255255
lock_basic_lock(&mq->lock);
256256
/* if list was empty, start timer for (eventual) wakeup */
257257
if(mq->first == NULL)
@@ -930,7 +930,7 @@ static int dtio_write_more_of_data(struct dt_io_thread* dtio)
930930
return 1;
931931
}
932932

933-
/** write more of the current messsage. false if incomplete, true if
933+
/** write more of the current message. false if incomplete, true if
934934
* the message is done */
935935
static int dtio_write_more(struct dt_io_thread* dtio)
936936
{
@@ -1181,7 +1181,7 @@ static int dtio_read_accept_frame(struct dt_io_thread* dtio)
11811181
goto close_connection;
11821182
return 1;
11831183
} else {
1184-
/* unknow content type */
1184+
/* unknown content type */
11851185
verbose(VERB_ALGO, "dnstap: ACCEPT frame "
11861186
"contains unknown content type, "
11871187
"closing connection");

doc/unbound.conf.5.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -2415,7 +2415,7 @@ This option defaults to "default".
24152415
.P
24162416
The following
24172417
.B cachedb
2418-
otions are specific to the redis backend.
2418+
options are specific to the redis backend.
24192419
.TP
24202420
.B redis-server-host: \fI<server address or name>\fR
24212421
The IP (either v6 or v4) address or domain name of the Redis server.

doc/unbound.doxygen

+2-2
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,10 @@ TYPEDEF_HIDES_STRUCT = NO
279279
# For small to medium size projects (<1000 input files) the default value is
280280
# probably good enough. For larger projects a too small cache size can cause
281281
# doxygen to be busy swapping symbols to and from disk most of the time
282-
# causing a significant performance penality.
282+
# causing a significant performance penalty.
283283
# If the system has enough physical memory increasing the cache will improve the
284284
# performance by keeping more symbols in memory. Note that the value works on
285-
# a logarithmic scale so increasing the size by one will rougly double the
285+
# a logarithmic scale so increasing the size by one will roughly double the
286286
# memory usage. The cache size is given by this formula:
287287
# 2^(16+SYMBOL_CACHE_SIZE). The valid range is 0..9, the default is 0,
288288
# corresponding to a cache size of 2^16 = 65536 symbols

edns-subnet/edns-subnet.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ struct ecs_data {
5959

6060
/**
6161
* copy the first n BITS from src to dst iff both src and dst
62-
* are large enough, return 0 on succes
62+
* are large enough, return 0 on success
6363
*/
6464
int
6565
copy_clear(uint8_t* dst, size_t dstlen, uint8_t* src, size_t srclen, size_t n);

edns-subnet/subnetmod.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ eval_response(struct module_qstate *qstate, int id, struct subnet_qstate *sq)
497497
if (!s_in->subnet_validdata) {
498498
/* The authority indicated no support for edns subnet. As a
499499
* consequence the answer ended up in the regular cache. It
500-
* is still usefull to put it in the edns subnet cache for
500+
* is still useful to put it in the edns subnet cache for
501501
* when a client explicitly asks for subnet specific answer. */
502502
verbose(VERB_QUERY, "subnetcache: Authority indicates no support");
503503
if(!sq->started_no_cache_store) {

ipsecmod/ipsecmod.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* \file
3838
*
3939
* This file contains a module that facilitates opportunistic IPsec. It does so
40-
* by also quering for the IPSECKEY for A/AAAA queries and calling a
40+
* by also querying for the IPSECKEY for A/AAAA queries and calling a
4141
* configurable hook (eg. signaling an IKE daemon) before replying.
4242
*/
4343

ipsecmod/ipsecmod.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
* \file
3838
*
3939
* This file contains a module that facilitates opportunistic IPsec. It does so
40-
* by also quering for the IPSECKEY for A/AAAA queries and calling a
40+
* by also querying for the IPSECKEY for A/AAAA queries and calling a
4141
* configurable hook (eg. signaling an IKE daemon) before replying.
4242
*/
4343

iterator/iterator.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3242,7 +3242,7 @@ prime_supers(struct module_qstate* qstate, int id, struct module_qstate* forq)
32423242
/* Convert our response to a delegation point */
32433243
dp = delegpt_from_message(qstate->return_msg, forq->region);
32443244
if(!dp) {
3245-
/* if there is no convertable delegation point, then
3245+
/* if there is no convertible delegation point, then
32463246
* the ANSWER type was (presumably) a negative answer. */
32473247
verbose(VERB_ALGO, "prime response was not a positive "
32483248
"ANSWER; failing");

libunbound/python/doc/examples/example4.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ Source code
3131
else:
3232
print "Result is insecure"
3333

34-
More detailed informations can be seen in libUnbound DNSSEC tutorial `here`_.
34+
More detailed information can be seen in libUnbound DNSSEC tutorial `here`_.
3535

3636
.. _here: http://www.unbound.net/documentation/libunbound-tutorial-6.html

libunbound/python/libunbound.i

+1-1
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ Result: ['74.125.43.147', '74.125.43.99', '74.125.43.103', '74.125.43.104']
363363
ctx.debuglevel(3)
364364
ctx.debugout(fw)
365365

366-
Another option is to print the debug informations to stderr output
366+
Another option is to print the debug information to stderr output
367367

368368
::
369369

libunbound/unbound-event.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
*
4242
* Use ub_ctx_create_event_ub_base() to create an unbound context that uses
4343
* the user provided event base API. Then, use the ub_resolve_event call
44-
* to add DNS resolve queries to the context. Those then run whith the
44+
* to add DNS resolve queries to the context. Those then run with the
4545
* provided event_base, and when they are done you get a function callback.
4646
*
4747
* This method does not fork another process or create a thread, the effort

libunbound/unbound.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ struct ub_result {
224224
* It is called with
225225
* void* my_arg: your pointer to a (struct of) data of your choice,
226226
* or NULL.
227-
* int err: if 0 all is OK, otherwise an error occured and no results
227+
* int err: if 0 all is OK, otherwise an error occurred and no results
228228
* are forthcoming.
229229
* struct result: pointer to more detailed result structure.
230230
* This structure is allocated on the heap and needs to be

libunbound/worker.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ struct query_info;
6666
* @param ssl_upstream: use SSL for upstream queries.
6767
* @param tls_auth_name: if ssl_upstream, use this name with TLS
6868
* authentication.
69-
* @param q: wich query state to reactivate upon return.
69+
* @param q: which query state to reactivate upon return.
7070
* @return: false on failure (memory or socket related). no query was
7171
* sent.
7272
*/
@@ -118,7 +118,7 @@ void worker_sighandler(int sig, void* arg);
118118
* @param ssl_upstream: use SSL for upstream queries.
119119
* @param tls_auth_name: if ssl_upstream, use this name with TLS
120120
* authentication.
121-
* @param q: wich query state to reactivate upon return.
121+
* @param q: which query state to reactivate upon return.
122122
* @return: false on failure (memory or socket related). no query was
123123
* sent.
124124
*/

pythonmod/doc/examples/example5.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ We can also remove an EDNS option code from an EDNS option list.
9090
log_info("python: Option code {} was not found in the "
9191
"list.".format(code))
9292
93-
.. note:: All occurences of the EDNS option code will be removed from the list:
93+
.. note:: All occurrences of the EDNS option code will be removed from the list:
9494

9595

9696
Controlling other modules' cache behavior

pythonmod/doc/modules/struct.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module_qstate
1212

1313
.. attribute:: qinfo
1414

15-
(:class:`query_info`) Informations about query being answered. Name, RR type, RR class.
15+
(:class:`query_info`) Information about query being answered. Name, RR type, RR class.
1616

1717
.. attribute:: query_flags
1818

@@ -256,7 +256,7 @@ dns_msg
256256

257257
.. attribute:: qinfo
258258

259-
(:class:`query_info`) Informations about query.
259+
(:class:`query_info`) Information about query.
260260

261261
.. attribute:: rep
262262

@@ -440,7 +440,7 @@ DNSMessage
440440

441441
.. method:: set_return_msg(self, qstate)
442442

443-
This method fills qstate return message according to the given informations.
443+
This method fills qstate return message according to the given information.
444444
It takes lists of RRs in each section of answer, created necessary RRsets in wire format and store the result in :attr:`qstate.return_msg`.
445445
Returns 1 if OK.
446446

pythonmod/doc/usecase.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ almost every mail server supports DNS based blacklisting.
2121

2222
DNS based Wake-On-Lan
2323
---------------------
24-
Controled by secured queries secured with private key.
24+
Controlled by secured queries secured with private key.
2525

2626
Dynamic translation service
2727
---------------------------

pythonmod/examples/edns.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Return True on success, False on failure.
5656
#
5757
# edns_opt_list_remove(edns_opt_list, code):
58-
# Remove all occurences of the given EDNS option code from the
58+
# Remove all occurrences of the given EDNS option code from the
5959
# edns_opt_list.
6060
# Return True when at least one EDNS option was removed, False otherwise.
6161
#

pythonmod/interface.i

+1-1
Original file line numberDiff line numberDiff line change
@@ -1341,7 +1341,7 @@ int set_return_msg(struct module_qstate* qstate,
13411341
%pythoncode %{
13421342
class DNSMessage:
13431343
def __init__(self, rr_name, rr_type, rr_class = RR_CLASS_IN, query_flags = 0, default_ttl = 0):
1344-
"""Query flags is a combination of PKT_xx contants"""
1344+
"""Query flags is a combination of PKT_xx constants"""
13451345
self.rr_name = rr_name
13461346
self.rr_type = rr_type
13471347
self.rr_class = rr_class

services/authzone.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
#define AUTH_PROBE_TIMEOUT_STOP 1000 /* msec */
8585
/* auth transfer timeout for TCP connections, in msec */
8686
#define AUTH_TRANSFER_TIMEOUT 10000 /* msec */
87-
/* auth transfer max backoff for failed tranfers and probes */
87+
/* auth transfer max backoff for failed transfers and probes */
8888
#define AUTH_TRANSFER_MAX_BACKOFF 86400 /* sec */
8989
/* auth http port number */
9090
#define AUTH_HTTP_PORT 80
@@ -243,7 +243,7 @@ msg_add_rrset_an(struct auth_zone* z, struct regional* region,
243243
return 1;
244244
}
245245

246-
/** add rrset to authority section (no additonal section rrsets yet) */
246+
/** add rrset to authority section (no additional section rrsets yet) */
247247
static int
248248
msg_add_rrset_ns(struct auth_zone* z, struct regional* region,
249249
struct dns_msg* msg, struct auth_data* node, struct auth_rrset* rrset)
@@ -6491,7 +6491,7 @@ auth_xfer_probe_udp_callback(struct comm_point* c, void* arg, int err,
64916491
comm_point_delete(xfr->task_probe->cp);
64926492
xfr->task_probe->cp = NULL;
64936493

6494-
/* if the result was not a successfull probe, we need
6494+
/* if the result was not a successful probe, we need
64956495
* to send the next one */
64966496
xfr_probe_nextmaster(xfr);
64976497
xfr_probe_send_or_end(xfr, env);

services/cache/rrset.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ void rrset_cache_touch(struct rrset_cache* r, struct ub_packed_rrset_key* key,
120120
* the new rrset. The reference may be changed if the cached rrset is
121121
* superior.
122122
* Before calling the rrset is presumed newly allocated and changeable.
123-
* Afer calling you do not hold a lock, and the rrset is inserted in
123+
* After calling you do not hold a lock, and the rrset is inserted in
124124
* the hashtable so you need a lock to change it.
125125
* @param alloc: how to allocate (and deallocate) the special rrset key.
126126
* @param timenow: current time (to see if ttl in cache is expired).
@@ -143,7 +143,7 @@ int rrset_cache_update(struct rrset_cache* r, struct rrset_ref* ref,
143143
* @param rrset: which rrset to cache as wildcard. This rrset is left
144144
* untouched.
145145
* @param ce: the closest encloser, will be uses to generate the wildcard dname.
146-
* @param ce_len: the closest encloser lenght.
146+
* @param ce_len: the closest encloser length.
147147
* @param alloc: how to allocate (and deallocate) the special rrset key.
148148
* @param timenow: current time (to see if ttl in cache is expired).
149149
*/

services/listen_dnsport.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -2618,7 +2618,7 @@ static int http2_req_begin_headers_cb(nghttp2_session* session,
26182618
int ret;
26192619
if(frame->hd.type != NGHTTP2_HEADERS ||
26202620
frame->headers.cat != NGHTTP2_HCAT_REQUEST) {
2621-
/* only interrested in request headers */
2621+
/* only interested in request headers */
26222622
return 0;
26232623
}
26242624
if(!(h2_stream = http2_stream_create(frame->hd.stream_id))) {
@@ -2746,7 +2746,7 @@ static int http2_req_header_cb(nghttp2_session* session,
27462746
* the HEADER */
27472747
if(frame->hd.type != NGHTTP2_HEADERS ||
27482748
frame->headers.cat != NGHTTP2_HCAT_REQUEST) {
2749-
/* only interrested in request headers */
2749+
/* only interested in request headers */
27502750
return 0;
27512751
}
27522752
if(!(h2_stream = nghttp2_session_get_stream_user_data(session,
@@ -2842,7 +2842,7 @@ static int http2_req_header_cb(nghttp2_session* session,
28422842
h2_stream->query_too_large = 1;
28432843
return 0;
28442844
}
2845-
/* guaranteed to only contian digits and be null terminated */
2845+
/* guaranteed to only contain digits and be null terminated */
28462846
h2_stream->content_length = atoi((const char*)value);
28472847
if(h2_stream->content_length >
28482848
h2_session->c->http2_stream_max_qbuffer_size) {
@@ -2882,7 +2882,7 @@ static int http2_req_data_chunk_recv_cb(nghttp2_session* ATTR_UNUSED(session),
28822882
/* setting this to msg-buffer-size can result in a lot
28832883
* of memory consuption. Most queries should fit in a
28842884
* single DATA frame, and most POST queries will
2885-
* containt content-length which does not impose this
2885+
* contain content-length which does not impose this
28862886
* limit. */
28872887
qlen = len;
28882888
}

0 commit comments

Comments
 (0)