summaryrefslogtreecommitdiff
path: root/gmodule
diff options
context:
space:
mode:
authorPhilip Withnall <withnall@endlessm.com>2020-06-12 14:02:30 +0100
committerPhilip Withnall <withnall@endlessm.com>2020-06-12 15:01:08 +0100
commit00bfb3ab4479fd3796e5c292fce7088209702d10 (patch)
treee53f53b01ddd6be9f184ff742c1cba45067eba7d /gmodule
parentc6ccff0ef467247be84015f3c45cabece9e582f5 (diff)
downloadglib-00bfb3ab4479fd3796e5c292fce7088209702d10.tar.gz
tree: Fix various typos and outdated terminology
This was mostly machine generated with the following command: ``` codespell \ --builtin clear,rare,usage \ --skip './po/*' --skip './.git/*' --skip './NEWS*' \ --write-changes . ``` using the latest git version of `codespell` as per [these instructions](https://github.com/codespell-project/codespell#user-content-updating). Then I manually checked each change using `git add -p`, made a few manual fixups and dropped a load of incorrect changes. There are still some outdated or loaded terms used in GLib, mostly to do with git branch terminology. They will need to be changed later as part of a wider migration of git terminology. If I’ve missed anything, please file an issue! Signed-off-by: Philip Withnall <withnall@endlessm.com>
Diffstat (limited to 'gmodule')
-rw-r--r--gmodule/gmodule-dl.c2
-rw-r--r--gmodule/gmodule.c4
-rw-r--r--gmodule/gmodule.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/gmodule/gmodule-dl.c b/gmodule/gmodule-dl.c
index fab151370..bb2df6836 100644
--- a/gmodule/gmodule-dl.c
+++ b/gmodule/gmodule-dl.c
@@ -29,7 +29,7 @@
#include <dlfcn.h>
-/* Perl includes <nlist.h> and <link.h> instead of <dlfcn.h> on some systmes? */
+/* Perl includes <nlist.h> and <link.h> instead of <dlfcn.h> on some systems? */
/* dlerror() is not implemented on all systems
diff --git a/gmodule/gmodule.c b/gmodule/gmodule.c
index e71b07e48..3c67e2e54 100644
--- a/gmodule/gmodule.c
+++ b/gmodule/gmodule.c
@@ -186,7 +186,7 @@
/* We maintain a list of modules, so we can reference count them.
* That's needed because some platforms don't support references counts on
- * modules. Also, the module for the program itself is kept seperately for
+ * modules. Also, the module for the program itself is kept separately for
* faster access and because it has special semantics.
*/
@@ -276,7 +276,7 @@ g_module_set_error (const gchar *error)
}
-/* --- include platform specifc code --- */
+/* --- include platform specific code --- */
#define SUPPORT_OR_RETURN(rv) { g_module_set_error (NULL); }
#if (G_MODULE_IMPL == G_MODULE_IMPL_DL)
#include "gmodule-dl.c"
diff --git a/gmodule/gmodule.h b/gmodule/gmodule.h
index 8982f5952..486684deb 100644
--- a/gmodule/gmodule.h
+++ b/gmodule/gmodule.h
@@ -101,7 +101,7 @@ const gchar * g_module_name (GModule *module);
* directory where the module file is supposed to be, or NULL or empty
* in which case it should either be in the current directory or, on
* some operating systems, in some standard place, for instance on the
- * PATH. Hence, to be absoultely sure to get the correct module,
+ * PATH. Hence, to be absolutely sure to get the correct module,
* always pass in a directory. The file name consists of the directory,
* if supplied, and 'module_name' suitably decorated according to
* the operating system's conventions (for instance lib*.so or *.dll).