"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
op@omarpolo.com
Subject:
typos (again!)
To:
gameoftrees@openbsd.org
Date:
Fri, 28 Mar 2025 20:55:14 +0100

Download raw body.

Thread
  • op@omarpolo.com:

    typos (again!)

Hello,

just your friendly codespell-as-a-service :)

diff /home/op/w/got
path + /home/op/w/got
commit - a80b99e21fc857df67ec90b2b3d86ea3b87de4b1
blob - c43bfa8cdc6ace8ebc66ca3bc06c640d48d08ecf
file + gotsysd/gotsysd.h
--- gotsysd/gotsysd.h
+++ gotsysd/gotsysd.h
@@ -349,7 +349,7 @@ struct gotsysd_imsg_sysconf_authorized_keys_user {
 
 	/* Followed by name_len bytes. */
 
-	/* Followed by messages containining authorized keys. */
+	/* Followed by messages containing authorized keys. */
 };
 
 /* 
commit - a80b99e21fc857df67ec90b2b3d86ea3b87de4b1
blob - fac1c4f570df4862991d4f658c5a3c11a704dc7b
file + gotsysd/libexec/gotsys-apply-conf/gotsys-apply-conf.c
--- gotsysd/libexec/gotsys-apply-conf/gotsys-apply-conf.c
+++ gotsysd/libexec/gotsys-apply-conf/gotsys-apply-conf.c
@@ -132,7 +132,7 @@ start_gotd(void)
 	int i;
 	const int maxwait = 10;
 
-	/* TOOD: gotd_fetch flags from rc.conf.local and pass them in. */
+	/* TODO: gotd_fetch flags from rc.conf.local and pass them in. */
 	err = start_child(&pid, GOTSYSD_PATH_PROG_GOTD, NULL, NULL);
 	if (err)
 		return err;
commit - a80b99e21fc857df67ec90b2b3d86ea3b87de4b1
blob - eac2e130716a0c60236d2758d09f5b859e2fac24
file + lib/gotsys_conf.c
--- lib/gotsys_conf.c
+++ lib/gotsys_conf.c
@@ -312,7 +312,7 @@ gotsys_conf_validate_name(const char *name, const char
 	for (i = 0; i < len; i++) {
 		/*
 		 * On non-OpenBSD systems, isalnum(3) can suffer from
-		 * locale-dependent-behaviour syndrom.
+		 * locale-dependent-behaviour syndrome.
 		 * Prevent non-ASCII characters in a portable way.
 		 */
 		if (name[i] & 0x80)
@@ -426,7 +426,7 @@ validate_comment(const char *comment, size_t len)
 	for (i = 0; i < len; i++) {
 		/*
 		 * On non-OpenBSD systems, isalnum(3) can suffer from
-		 * locale-dependent-behaviour syndrom.
+		 * locale-dependent-behaviour syndrome.
 		 * Prevent non-ASCII characters in a portable way.
 		 */
 		if (comment[i] & 0x80)
commit - a80b99e21fc857df67ec90b2b3d86ea3b87de4b1
blob - 62a18caba95b0b7be549626721fce091f75e7b31
file + regress/gotsysd/test_gotsysd.sh
--- regress/gotsysd/test_gotsysd.sh
+++ regress/gotsysd/test_gotsysd.sh
@@ -195,7 +195,7 @@ EOF
 	fi
 
 	# The user should have a home directory and ~/.ssh.
-	# TODO: stat ~ and ~/.ssh, then verify owership and permissions.
+	# TODO: stat ~ and ~/.ssh, then verify ownership and permissions.
 	ssh -q -i ${GOTSYSD_SSH_KEY} \
 		root@${VMIP} ls /home/${GOTSYSD_DEV_USER} \
 		> $testroot/stdout
@@ -1003,7 +1003,7 @@ EOF
 test_user_anonymous() {
 	local testroot=`test_init user_anonymous 1`
 
-	# An attempt to grant write permissions to anonymus is an error.
+	# An attempt to grant write permissions to anonymous is an error.
 	cat > ${testroot}/bad-gotsys.conf <<EOF
 repository "gotsys" {
 	permit rw anonymous
@@ -1013,7 +1013,7 @@ EOF
 		> $testroot/stdout  2> $testroot/stderr
 	ret=$?
 	if [ $ret -eq 0 ]; then
-		echo "gotsys check suceeded unexpectedly" >&2
+		echo "gotsys check succeeded unexpectedly" >&2
 		test_done "$testroot" 1
 		return 1
 	fi
@@ -1061,7 +1061,7 @@ repository "foo" {
 	permit ro anonymous
 }
 EOF
-	(cd ${testroot}/wt && got commit -m "add anonymus user" >/dev/null)
+	(cd ${testroot}/wt && got commit -m "add anonymous user" >/dev/null)
 	local commit_id=`git_show_head $testroot/${GOTSYS_REPO}`
 
 	got send -q -i ${GOTSYSD_SSH_KEY} -r ${testroot}/${GOTSYS_REPO}
@@ -1139,7 +1139,7 @@ EOF
 		> $testroot/stdout  2> $testroot/stderr
 	ret=$?
 	if [ $ret -eq 0 ]; then
-		echo "gotsys check suceeded unexpectedly" >&2
+		echo "gotsys check succeeded unexpectedly" >&2
 		test_done "$testroot" 1
 		return 1
 	fi