summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 15:03:37 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2021-11-28 15:04:58 -0800
commit1bfa5bff47654213f1d40af64bae0e9e23b4bed4 (patch)
tree2d88ac62dd10278c442e57c8ecfeee192146eb5a
parentc2811c953620cf946269db2b74b29e0dc707e26a (diff)
downloadxorg-app-xauth-1bfa5bff47654213f1d40af64bae0e9e23b4bed4.tar.gz
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--README.md2
-rw-r--r--man/xauth.man4
-rw-r--r--parsedpy.c2
-rw-r--r--process.c6
-rwxr-xr-xtests/030-xauth-extract.script2
5 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index cbee6b2..3eb58fc 100644
--- a/README.md
+++ b/README.md
@@ -22,7 +22,7 @@ Xorg mailing list:
https://lists.x.org/mailman/listinfo/xorg
-The master development code repository can be found at:
+The primary development code repository can be found at:
https://gitlab.freedesktop.org/xorg/app/xauth
diff --git a/man/xauth.man b/man/xauth.man
index 2b5d81f..c35bc71 100644
--- a/man/xauth.man
+++ b/man/xauth.man
@@ -238,10 +238,10 @@ Xserver(__appmansuffix__), xdm(__appmansuffix__), startx(__appmansuffix__),
Xau(__libmansuffix__).
.SH BUGS
.PP
-Users that have unsecure networks should take care to use encrypted
+Users that have insecure networks should take care to use encrypted
file transfer mechanisms to copy authorization entries between machines.
Similarly, the \fIMIT-MAGIC-COOKIE-1\fP protocol is not very useful in
-unsecure environments. Sites that are interested in additional security
+insecure environments. Sites that are interested in additional security
may need to use encrypted authorization mechanisms such as Kerberos.
.PP
Spaces are currently not allowed in the protocol name. Quoting could be
diff --git a/parsedpy.c b/parsedpy.c
index 8aea441..3b6e203 100644
--- a/parsedpy.c
+++ b/parsedpy.c
@@ -35,7 +35,7 @@ in this Software without prior written authorization from The Open Group.
#include <stdio.h> /* for NULL */
#include <ctype.h> /* for isascii() and isdigit() */
#include <X11/Xos.h> /* for strchr() and string routines */
-#include <X11/Xlib.h> /* for Family contants */
+#include <X11/Xlib.h> /* for Family constants */
#ifdef hpux
#include <sys/utsname.h> /* for struct utsname */
#endif
diff --git a/process.c b/process.c
index cda6fd7..eb89751 100644
--- a/process.c
+++ b/process.c
@@ -652,7 +652,7 @@ static Bool xauth_modified = False; /* if added, removed, or merged */
static Bool xauth_allowed = True; /* if allowed to write auth file */
static Bool xauth_locked = False; /* if has been locked */
static const char *xauth_filename = NULL;
-static volatile Bool dieing = False;
+static volatile Bool dying = False;
/* poor man's puts(), for under signal handlers,
@@ -664,7 +664,7 @@ _X_NORETURN
static void
die(int sig)
{
- dieing = True;
+ dying = True;
_exit (auth_finalize ());
/* NOTREACHED */
}
@@ -880,7 +880,7 @@ auth_finalize(void)
char temp_name[1025]; /* large filename size */
if (xauth_modified) {
- if (dieing) {
+ if (dying) {
if (verbose) {
/*
* called from a signal handler -- printf is *not* reentrant; also
diff --git a/tests/030-xauth-extract.script b/tests/030-xauth-extract.script
index 0fd0bf0..6db520f 100755
--- a/tests/030-xauth-extract.script
+++ b/tests/030-xauth-extract.script
@@ -8,7 +8,7 @@ xauth add examplehost1/unix:0 . b90b0fd1cf6a0e7a2c74c00000000001
xauth add examplehost2/unix:0 . b90b0fd1cf6a0e7a2c74c00000000002
xauth add examplehost3/unix:0 . b90b0fd1cf6a0e7a2c74c00000000003
-# Use xauth_silent because otherwise the system dependant pathes are printed
+# Use xauth_silent because otherwise the system dependent paths are printed
XAUTHORITY2=$DATADIR/.Xauthority2
xauth_silent extract $XAUTHORITY2 examplehost2/unix:0
xauth_silent -f $XAUTHORITY2 list