From c069ede3c97f543d9bbe9ed67e56c74142921cc5 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 10 May 2022 09:15:11 -0700 Subject: Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- README.md | 2 +- Xtrans.c | 6 +++--- Xtranslcl.c | 2 +- Xtransutil.c | 2 +- doc/xtrans.xml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 3ab2b3c..7378f9f 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,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/lib/libxtrans diff --git a/Xtrans.c b/Xtrans.c index c4dbbc0..ce76120 100644 --- a/Xtrans.c +++ b/Xtrans.c @@ -62,7 +62,7 @@ from The Open Group. * Each transport is assigned a unique transport id. * * New transports can be added by adding an entry in this table. - * For compatiblity, the transport ids should never be renumbered. + * For compatibility, the transport ids should never be renumbered. * Always add to the end of the list. */ @@ -247,7 +247,7 @@ TRANS(ParseAddress) (const char *address, { /* There is a hostname specified */ _protocol = "tcp"; - mybuf = tmpptr; /* reset to the begining of the host ptr */ + mybuf = tmpptr; /* reset to the beginning of the host ptr */ } } else @@ -995,7 +995,7 @@ TRANS(GetConnectionNumber) (XtransConnInfo ciptr) /* * These functions are really utility functions, but they require knowledge * of the internal data structures, so they have to be part of the Transport - * Independant API. + * Independent API. */ #ifdef TRANS_SERVER diff --git a/Xtranslcl.c b/Xtranslcl.c index f8a3976..9fbac1f 100644 --- a/Xtranslcl.c +++ b/Xtranslcl.c @@ -881,7 +881,7 @@ TRANS(LocalOpenClient)(int type, const char *protocol, #if defined(X11_t) /* - * X has a well known port, that is transport dependant. It is easier + * X has a well known port, that is transport dependent. It is easier * to handle it here, than try and come up with a transport independent * representation that can be passed in and resolved the usual way. * diff --git a/Xtransutil.c b/Xtransutil.c index f15be24..1bce2d2 100644 --- a/Xtransutil.c +++ b/Xtransutil.c @@ -50,7 +50,7 @@ from The Open Group. /* * These are some utility functions created for convenience or to provide * an interface that is similar to an existing interface. These are built - * only using the Transport Independant API, and have no knowledge of + * only using the Transport Independent API, and have no knowledge of * the internal implementation. */ diff --git a/doc/xtrans.xml b/doc/xtrans.xml index 08a3cac..dd0030b 100644 --- a/doc/xtrans.xml +++ b/doc/xtrans.xml @@ -1109,7 +1109,7 @@ In X11R7 modular releases, these flags are set when running OSI osi - name of an OSI adressable host. + name of an OSI addressable host. Not sure of the specifics yet. -- cgit v1.2.1