From 1bfa5bff47654213f1d40af64bae0e9e23b4bed4 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 28 Nov 2021 15:03:37 -0800 Subject: Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- README.md | 2 +- man/xauth.man | 4 ++-- parsedpy.c | 2 +- process.c | 6 +++--- tests/030-xauth-extract.script | 2 +- 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 /* for NULL */ #include /* for isascii() and isdigit() */ #include /* for strchr() and string routines */ -#include /* for Family contants */ +#include /* for Family constants */ #ifdef hpux #include /* 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 -- cgit v1.2.3