summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/zix/path.h2
-rw-r--r--include/zix/sem.h2
-rw-r--r--meson.build2
-rw-r--r--test/test_btree.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/zix/path.h b/include/zix/path.h
index 69b2897..ba23b10 100644
--- a/include/zix/path.h
+++ b/include/zix/path.h
@@ -62,7 +62,7 @@ zix_path_preferred(ZixAllocator* ZIX_NULLABLE allocator,
Paths in normal form have all dot segments removed and use only a single
preferred separator for all separators (that is, any number of separators is
- replaced with a single "\" on Windows, and a single "/" everwhere else).
+ replaced with a single "\" on Windows, and a single "/" everywhere else).
Note that this function doesn't access the filesystem, so won't do anything
like case normalization or symbolic link dereferencing. For that, use
diff --git a/include/zix/sem.h b/include/zix/sem.h
index 95bdd9b..49ab5f8 100644
--- a/include/zix/sem.h
+++ b/include/zix/sem.h
@@ -37,7 +37,7 @@ ZIX_BEGIN_DECLS
be 0 so the semaphore can be used as a simple signal where each post
corresponds to one wait.
- Semaphores are very efficient (much moreso than a mutex/cond pair). In
+ Semaphores are very efficient (compared to a mutex/cond pair). In
particular, at least on Linux, post is async-signal-safe, which means it
does not block and will not be interrupted. If you need to signal from
a realtime thread, this is the most appropriate primitive to use.
diff --git a/meson.build b/meson.build
index 1b9b46a..b03a43b 100644
--- a/meson.build
+++ b/meson.build
@@ -451,7 +451,7 @@ zix_dep = declare_dependency(
link_with: libzix,
)
-# Generage pkg-config file for external dependants
+# Generate pkg-config file for external dependants
pkg.generate(
libzix,
description: 'Lightweight C library of portability wrappers and data structures',
diff --git a/test/test_btree.c b/test/test_btree.c
index a340bbf..dd665c7 100644
--- a/test/test_btree.c
+++ b/test/test_btree.c
@@ -417,7 +417,7 @@ stress(ZixAllocator* const allocator,
uintptr_t removed = 0;
ENSUREV(t,
zix_btree_remove(t, (void*)r, (void**)&removed, &next),
- "Removal of non-existant %" PRIuPTR " succeeded\n",
+ "Removal of non-existent %" PRIuPTR " succeeded\n",
r);
}