Skip to content

Commit 03b6d42

Browse files
committed
Fix spelling errors found by codespell
1 parent a7c2c6a commit 03b6d42

20 files changed

+36
-33
lines changed

Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ tests_tap_libtap_a_SOURCES = tests/tap/basic.c tests/tap/basic.h \
167167
tests/tap/remctl.c tests/tap/remctl.h tests/tap/string.c \
168168
tests/tap/string.h
169169

170-
# kafs tests are buit differently depending on whether we use our local
170+
# kafs tests are built differently depending on whether we use our local
171171
# libkafs replacement.
172172
tests_kafs_basic_CPPFLAGS = $(KAFS_CPPFLAGS)
173173
tests_kafs_basic_LDFLAGS = $(KAFS_LDFLAGS)

NEWS

+2-2
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ rra-c-util 5.6 (2014-12-25)
380380
factored out into Test::RRA.)
381381

382382
Fix visibility for util/buffer.c functions and for inet_aton and
383-
inet_ntoa replacements to match the default hidden visiblity of other
383+
inet_ntoa replacements to match the default hidden visibility of other
384384
portability and util functions. Thanks, Julien ÉLIE.
385385

386386
network_addr_match now always fails (returns false) if either of the
@@ -1490,7 +1490,7 @@ rra-c-util 2.7 (2010-09-20)
14901490
commented out so that it is tested when building rra-c-util. Building
14911491
this package directly will now require working GSS-API libraries, but
14921492
since it already required working Kerberos libraries, this should not
1493-
make a noticable difference.
1493+
make a noticeable difference.
14941494

14951495
rra-c-util 2.6 (2010-08-25)
14961496

m4/cc-flags.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ dnl
1414
dnl The canonical version of this file is maintained in the rra-c-util
1515
dnl package, available at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
1616
dnl
17-
dnl Copyright 2016-2019 Russ Allbery <[email protected]>
17+
dnl Copyright 2016-2020 Russ Allbery <[email protected]>
1818
dnl Copyright 2006, 2009, 2016
1919
dnl by Internet Systems Consortium, Inc. ("ISC")
2020
dnl
@@ -36,7 +36,7 @@ dnl Used to build the result cache name.
3636
AC_DEFUN([_RRA_PROG_CC_FLAG_CACHE],
3737
[translit([rra_cv_compiler_c_$1], [-=+], [___])])
3838

39-
dnl Check whether a given flag is supported by the complier.
39+
dnl Check whether a given flag is supported by the compiler.
4040
AC_DEFUN([RRA_PROG_CC_FLAG],
4141
[AC_REQUIRE([AC_PROG_CC])
4242
AC_MSG_CHECKING([if $CC supports $1])

m4/kafs.m4

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dnl specify paths at a more granular level; and --with-afs,
99
dnl --with-afs-include, and --with-afs-lib configure options to specify the
1010
dnl location of the AFS libraries.
1111
dnl
12-
dnl Provides the macro RRA_LIB_KAFS and sets the substition variables
12+
dnl Provides the macro RRA_LIB_KAFS and sets the substitution variables
1313
dnl KAFS_CPPFLAGS, KAFS_LDFLAGS, and KAFS_LIBS. If Kerberos libraries may be
1414
dnl needed, LIBS and LDFLAGS must already be set appropriately before calling
1515
dnl this. Also provides RRA_LIB_KAFS_SWITCH to set CPPFLAGS, LDFLAGS, and
@@ -35,6 +35,7 @@ dnl The canonical version of this file is maintained in the rra-c-util
3535
dnl package, available at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
3636
dnl
3737
dnl Written by Russ Allbery <[email protected]>
38+
dnl Copyright 2020 Russ Allbery <[email protected]>
3839
dnl Copyright 2008-2010
3940
dnl The Board of Trustees of the Leland Stanford Junior University
4041
dnl

m4/krb5-pkinit.m4

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dnl Additional probes for Kerberos PKINIT support.
22
dnl
3-
dnl Additonal Kerberos library probes that check behavior of the library
3+
dnl Additional Kerberos library probes that check behavior of the library
44
dnl relevant to PKINIT support. Provides the macro:
55
dnl
66
dnl RRA_FUNC_KRB5_GET_INIT_CREDS_OPT_SET_PKINIT_ARGS
@@ -9,7 +9,7 @@ dnl and defines HAVE_KRB5_GET_INIT_CREDS_OPT_SET_PKINIT_9_ARGS if it takes
99
dnl only nine arguments.
1010
dnl
1111
dnl Written by Russ Allbery <[email protected]>
12-
dnl Copyright 2007, 2018 Russ Allbery <[email protected]>
12+
dnl Copyright 2007, 2018, 2020 Russ Allbery <[email protected]>
1313
dnl Copyright 2011
1414
dnl The Board of Trustees of the Leland Stanford Junior University
1515
dnl

portable/getaddrinfo.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Replacement for a missing getaddrinfo.
33
*
44
* This is an implementation of getaddrinfo for systems that don't have one so
5-
* that networking code can use a consistant interface without #ifdef. It is
5+
* that networking code can use a consistent interface without #ifdef. It is
66
* a fairly minimal implementation, with the following limitations:
77
*
88
* - IPv4 support only. IPv6 is not supported.
@@ -20,7 +20,7 @@
2020
* which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
2121
*
2222
* Written by Russ Allbery <[email protected]>
23-
* Copyright 2003-2005, 2016-2017, 2019 Russ Allbery <[email protected]>
23+
* Copyright 2003-2005, 2016-2017, 2019-2020 Russ Allbery <[email protected]>
2424
* Copyright 2015 Julien ÉLIE <[email protected]>
2525
* Copyright 2008, 2011, 2013-2014
2626
* The Board of Trustees of the Leland Stanford Junior University

portable/getaddrinfo.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* This is an implementation of the getaddrinfo family of functions for
55
* systems that lack it, so that code can use getaddrinfo always. It provides
6-
* IPv4 support only; for IPv6 support, a native getaddrinfo implemenation is
6+
* IPv4 support only; for IPv6 support, a native getaddrinfo implementation is
77
* required.
88
*
99
* This file should generally be included by way of portable/socket.h rather
@@ -13,7 +13,7 @@
1313
* which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
1414
*
1515
* Written by Russ Allbery <[email protected]>
16-
* Copyright 2003, 2005 Russ Allbery <[email protected]>
16+
* Copyright 2003, 2005, 2020 Russ Allbery <[email protected]>
1717
* Copyright 2008-2011
1818
* The Board of Trustees of the Leland Stanford Junior University
1919
*

portable/getnameinfo.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Replacement for a missing getnameinfo.
33
*
44
* This is an implementation of getnameinfo for systems that don't have one so
5-
* that networking code can use a consistant interface without #ifdef. It is
5+
* that networking code can use a consistent interface without #ifdef. It is
66
* a fairly minimal implementation, with the following limitations:
77
*
88
* - IPv4 support only. IPv6 is not supported.
@@ -17,7 +17,7 @@
1717
* which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
1818
*
1919
* Written by Russ Allbery <[email protected]>
20-
* Copyright 2005 Russ Allbery <[email protected]>
20+
* Copyright 2005, 2020 Russ Allbery <[email protected]>
2121
* Copyright 2008, 2011, 2013-2014
2222
* The Board of Trustees of the Leland Stanford Junior University
2323
*

portable/getnameinfo.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* This is an implementation of the getnameinfo function for systems that lack
55
* it, so that code can use getnameinfo always. It provides IPv4 support
6-
* only; for IPv6 support, a native getnameinfo implemenation is required.
6+
* only; for IPv6 support, a native getnameinfo implementation is required.
77
*
88
* This file should generally be included by way of portable/socket.h rather
99
* than directly.
@@ -12,7 +12,7 @@
1212
* which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
1313
*
1414
* Written by Russ Allbery <[email protected]>
15-
* Copyright 2005, 2007 Russ Allbery <[email protected]>
15+
* Copyright 2005, 2007, 2020 Russ Allbery <[email protected]>
1616
* Copyright 2008, 2010-2011
1717
* The Board of Trustees of the Leland Stanford Junior University
1818
*

portable/kafs.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* This header includes kafs.h if it's available, prototypes k_hasafs,
55
* k_setpag, and k_unlog replacements (generally provided by the kafs
6-
* replacement library) imlemented in terms of our system call layer or
6+
* replacement library) implemented in terms of our system call layer or
77
* lsetpag if it is available and libkafs isn't, and as a last resort provides
88
* a k_hasafs function that always fails and k_setpag and k_unlog functions
99
* that always succeed.
@@ -16,6 +16,7 @@
1616
* which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
1717
*
1818
* Written by Russ Allbery <[email protected]>
19+
* Copyright 2020 Russ Allbery <[email protected]>
1920
* Copyright 2006-2008, 2010, 2013
2021
* The Board of Trustees of the Leland Stanford Junior University
2122
*

portable/krb5-profile.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ krb5_appdefault_string(krb5_context context, const char *appname, const krb5_dat
218218
*
219219
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
220220
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
221-
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
221+
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
222222
*
223223
* Individual source code files are copyright MIT, Cygnus Support,
224224
* OpenVision, Oracle, Sun Soft, FundsXpress, and others.

portable/snprintf.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
* probably requires libm on most operating systems. Don't yet
6565
* support the exponent (e,E) and sigfig (g,G). Also, fmtint()
6666
* was pretty badly broken, it just wasn't being exercised in ways
67-
* which showed it, so that's been fixed. Also, formated the code
67+
* which showed it, so that's been fixed. Also, formatted the code
6868
* to mutt conventions, and removed dead code left over from the
6969
* original. Also, there is now a builtin-test, just compile with:
7070
* gcc -DTEST_SNPRINTF -o snprintf snprintf.c -lm

tests/fakepam/README

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Overview
1414
The goal of this library is that all PAM code should be able to be
1515
left unchanged and the code just linked with the fakepam library
1616
rather than the regular PAM library. The testing code can then call
17-
pam_start and pam_end as defind in the fakepam/pam.h header file and
17+
pam_start and pam_end as defined in the fakepam/pam.h header file and
1818
inspect internal PAM state as needed.
1919

2020
The library also provides an interface to exercise a PAM module via an
@@ -255,7 +255,7 @@ License
255255
This file is part of the documentation of rra-c-util, which can be
256256
found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
257257

258-
Copyright 2011, 2012 Russ Allbery <[email protected]>
258+
Copyright 2011-2012, 2020 Russ Allbery <[email protected]>
259259

260260
Copying and distribution of this file, with or without modification,
261261
are permitted in any medium without royalty provided the copyright

tests/fakepam/script.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
1111
*
1212
* Written by Russ Allbery <[email protected]>
13-
* Copyright 2016, 2018 Russ Allbery <[email protected]>
13+
* Copyright 2016, 2018, 2020 Russ Allbery <[email protected]>
1414
* Copyright 2011-2012, 2014
1515
* The Board of Trustees of the Leland Stanford Junior University
1616
*
@@ -256,7 +256,7 @@ check_output(const struct output *wanted, const struct output *seen)
256256
/*
257257
* The core of the work. Given the path to a PAM interaction script, which
258258
* may be relative to C_TAP_SOURCE or C_TAP_BUILD, the user (may be NULL), and
259-
* the stored password (may be NULL), run that script, outputing the results
259+
* the stored password (may be NULL), run that script, outputting the results
260260
* in TAP format.
261261
*/
262262
void

tests/perl/minimum-version-t

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
# which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
1111
#
1212
# Written by Russ Allbery <[email protected]>
13-
# Copyright 2016, 2019 Russ Allbery <[email protected]>
13+
# Copyright 2016, 2019-2020 Russ Allbery <[email protected]>
1414
# Copyright 2012-2014
1515
# The Board of Trustees of the Leland Stanford Junior University
1616
#
@@ -56,7 +56,7 @@ use_prereq('Test::MinimumVersion');
5656
automake_setup();
5757

5858
# For each exception case in %MINIMUM_VERSION, check the files that should
59-
# have that minium version. Sort for reproducible test order. Also
59+
# have that minimum version. Sort for reproducible test order. Also
6060
# accumulate the list of directories we've already tested.
6161
my @tested;
6262
for my $version (sort keys %MINIMUM_VERSION) {

tests/tap/kerberos.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ void kerberos_cleanup(void);
108108
void kerberos_generate_conf(const char *realm);
109109
void kerberos_cleanup_conf(void);
110110

111-
/* Thes interfaces are only available with native Kerberos support. */
111+
/* These interfaces are only available with native Kerberos support. */
112112
#ifdef HAVE_KRB5
113113

114114
/* Bail out with an error, appending the Kerberos error message. */

tests/util/buffer-t.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
66
*
77
* Written by Russ Allbery <[email protected]>
8-
* Copyright 2002-2004, 2006, 2014-2015 Russ Allbery <[email protected]>
8+
* Copyright 2002-2004, 2006, 2014-2015, 2020 Russ Allbery <[email protected]>
99
* Copyright 2011-2014
1010
* The Board of Trustees of the Leland Stanford Junior University
1111
*
@@ -77,7 +77,7 @@ main(void)
7777
is_int(1024, one.size, "minimum size is 1024");
7878
is_int(0, one.used, "used starts at 0");
7979
is_int(sizeof(test_string1), one.left, "left is correct");
80-
is_string(test_string1, one.data, "data is corect");
80+
is_string(test_string1, one.data, "data is correct");
8181
buffer_append(&one, test_string2, sizeof(test_string2));
8282
is_int(1024, one.size, "appended data doesn't change size");
8383
is_int(0, one.used, "or used");

tests/util/network/server-t.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ test_server_accept(socket_type fd)
233233

234234

235235
/*
236-
* A varient version of the server portion of the test. Takes an array of
236+
* A variant version of the server portion of the test. Takes an array of
237237
* sockets and the size of the sockets and accepts a connection on any of
238238
* those sockets. Ensures that the client address information is stored
239239
* correctly by checking that it is an IPv4 address. For skipping purposes,

tests/util/xmalloc-t

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
# which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
77
#
88
# Written by Russ Allbery <[email protected]>
9-
# Copyright 2000-2001, 2006, 2014, 2016, 2019 Russ Allbery <[email protected]>
9+
# Copyright 2000-2001, 2006, 2014, 2016, 2019-2020
10+
# Russ Allbery <[email protected]>
1011
# Copyright 2008-2010, 2012
1112
# The Board of Trustees of the Leland Stanford Junior University
1213
#
@@ -33,7 +34,7 @@
3334
. "$C_TAP_SOURCE/tap/libtap.sh"
3435
cd "$C_TAP_BUILD/util"
3536

36-
# Run an xmalloc test. Takes the description, the expectd exit status, the
37+
# Run an xmalloc test. Takes the description, the expected exit status, the
3738
# output, and the arguments.
3839
ok_xmalloc () {
3940
local desc w_status w_output output status

util/vector.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* which can be found at <https://www.eyrie.org/~eagle/software/rra-c-util/>.
2525
*
2626
* Written by Russ Allbery <[email protected]>
27-
* Copyright 2001-2006, 2016 Russ Allbery <[email protected]>
27+
* Copyright 2001-2006, 2016, 2020 Russ Allbery <[email protected]>
2828
* Copyright 2005-2006, 2008-2011, 2013-2014
2929
* The Board of Trustees of the Leland Stanford Junior University
3030
*
@@ -327,7 +327,7 @@ split_multi_count(const char *string, const char *seps)
327327
return 0;
328328

329329
/*
330-
* Walk the string looking for the first separator not preceeded by
330+
* Walk the string looking for the first separator not preceded by
331331
* another separator (and ignore a separator at the start of the string).
332332
*/
333333
for (count = 1, p = string + 1; *p != '\0'; p++)

0 commit comments

Comments
 (0)