Fix typos found by codespell 2.2.1.

This commit is contained in:
Todd C. Miller
2022-09-28 16:39:19 -06:00
parent 166e0e13bc
commit d2a13a8154
8 changed files with 11 additions and 9 deletions

View File

@@ -320,7 +320,7 @@ Defaults are listed in brackets after the description.
Adds the specified library (or libraries) to SUDO_LIBS and Adds the specified library (or libraries) to SUDO_LIBS and
and VISUDO_LIBS so sudo will link against them. If the and VISUDO_LIBS so sudo will link against them. If the
library doesn't start with "-l" or end in ".a" or ".o" a library doesn't start with "-l" or end in ".a" or ".o" a
"-l" will be pre-pended to it. Multiple libraries may be "-l" will be prepended to it. Multiple libraries may be
specified as long as they are space separated. specified as long as they are space separated.
--with-libtool=PATH --with-libtool=PATH

View File

@@ -12,3 +12,5 @@ thur
toke toke
vas vas
wit wit
siz
clen

View File

@@ -1004,7 +1004,7 @@ bad:
} }
/* /*
* Log a message to syslog, pre-pending the username and splitting the * Log a message to syslog, prepending the username and splitting the
* message into parts if it is longer than syslog_maxlen. * message into parts if it is longer than syslog_maxlen.
*/ */
static bool static bool

View File

@@ -22,7 +22,7 @@
*/ */
/* /*
* Trivial replacements for the libc getgr{uid,nam}() routines. * Trivial replacements for the libc getgrent() family of functions.
*/ */
#include <config.h> #include <config.h>

View File

@@ -1384,7 +1384,7 @@ alias_prune_helper(struct sudoers_parse_tree *parse_tree, struct alias *a,
{ {
struct cvtsudoers_config *conf = v; struct cvtsudoers_config *conf = v;
/* XXX - misue of these functions */ /* XXX - misuse of these functions */
switch (a->type) { switch (a->type) {
case USERALIAS: case USERALIAS:
userlist_matches_filter(parse_tree, &a->members, conf); userlist_matches_filter(parse_tree, &a->members, conf);

View File

@@ -23,8 +23,8 @@
*/ */
/* /*
* Trivial replacements for the libc get{gr,pw}{uid,nam}() routines * Trivial replacements for the libc getgrent() and getpwent() family
* for use by testsudoers in the sudo test harness. * of functions for use by testsudoers in the sudo test harness.
* We need our own since many platforms don't provide set{pw,gr}file(). * We need our own since many platforms don't provide set{pw,gr}file().
*/ */

View File

@@ -17,8 +17,8 @@
*/ */
/* /*
* Trivial replacements for the libc get{gr,pw}{uid,nam}() routines * Trivial replacements for the libc getgrent() and getpwent() family
* for use by testsudoers in the sudo test harness. * of functions for use by testsudoers in the sudo test harness.
* We need our own since many platforms don't provide set{pw,gr}file(). * We need our own since many platforms don't provide set{pw,gr}file().
*/ */

View File

@@ -455,7 +455,7 @@ write_callback(int fd, int what, void *v)
/* /*
* If std{in,out,err} are not connected to a terminal, interpose * If std{in,out,err} are not connected to a terminal, interpose
* outselves using a pipe. Fills in io_pipe[][]. * ourselves using a pipe. Fills in io_pipe[][].
*/ */
static void static void
interpose_pipes(struct exec_closure *ec, int io_pipe[3][2]) interpose_pipes(struct exec_closure *ec, int io_pipe[3][2])