summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Viola <diego.viola@gmail.com>2024-06-30 02:28:13 -0300
committerDiego Viola <diego.viola@gmail.com>2024-06-30 02:28:13 -0300
commit50bdd3d9bcdb74258007946bcbfeb4986e6c4ef8 (patch)
tree4f74c4a18805e99aeda30adf454a5dd442b36e08
parent8d14b22260026ec3d567d6367f83b9ab580b6556 (diff)
Fix typos
Signed-off-by: Diego Viola <diego.viola@gmail.com>
-rw-r--r--doc/makepkg.conf.5.asciidoc2
-rw-r--r--doc/pacman.8.asciidoc2
-rw-r--r--doc/pacman.conf.5.asciidoc2
-rw-r--r--lib/libalpm/alpm.h2
-rw-r--r--lib/libalpm/dload.c2
-rw-r--r--src/pacman/check.c2
-rw-r--r--src/pacman/pacman.c2
-rw-r--r--src/pacman/po/POTFILES.in4
8 files changed, 9 insertions, 9 deletions
diff --git a/doc/makepkg.conf.5.asciidoc b/doc/makepkg.conf.5.asciidoc
index 36dcb77e..f33280bf 100644
--- a/doc/makepkg.conf.5.asciidoc
+++ b/doc/makepkg.conf.5.asciidoc
@@ -285,7 +285,7 @@ Options
**PKGEXT=**"{pkgext}", **SRCEXT=**"{srcext}"::
Sets the compression used when making compiled or source packages.
- Valid suffixes are `.pkg` or `.src` (for PKGEXT and SRCEXT resepectively)
+ Valid suffixes are `.pkg` or `.src` (for PKGEXT and SRCEXT respectively)
followed by one of `.tar.gz`, `.tar.bz2`, `.tar.xz`, `.tar.zst`, `.tar.lzo`,
`.tar.lrz`, `.tar.lz4`, `.tar.lz` and `.tar.Z`, or simply `.tar` to
disable compression entirely.
diff --git a/doc/pacman.8.asciidoc b/doc/pacman.8.asciidoc
index 3ea1fef1..e0c3b73d 100644
--- a/doc/pacman.8.asciidoc
+++ b/doc/pacman.8.asciidoc
@@ -202,7 +202,7 @@ Options
*\--disable-sandbox*::
Disable the default sandbox applied to the process downloading files on Linux
- systems. Useful if experiencing landlock related failues while downloading
+ systems. Useful if experiencing landlock related failures while downloading
files when running a Linux kernel that does not support this feature.
Transaction Options (apply to '-S', '-R' and '-U')
diff --git a/doc/pacman.conf.5.asciidoc b/doc/pacman.conf.5.asciidoc
index b462169b..81e8525f 100644
--- a/doc/pacman.conf.5.asciidoc
+++ b/doc/pacman.conf.5.asciidoc
@@ -213,7 +213,7 @@ Options
*DisableSandbox*::
Disable the default sandbox applied to the process downloading files on Linux
- systems. Useful if experiencing landlock related failues while downloading
+ systems. Useful if experiencing landlock related failures while downloading
files when running a Linux kernel that does not support this feature.
Repository Sections
diff --git a/lib/libalpm/alpm.h b/lib/libalpm/alpm.h
index 1759a9a2..d80d9e19 100644
--- a/lib/libalpm/alpm.h
+++ b/lib/libalpm/alpm.h
@@ -2184,7 +2184,7 @@ int alpm_option_set_checkspace(alpm_handle_t *handle, int checkspace);
/** @name Accessors for the database extension
*
* This controls the extension used for sync databases. libalpm will use this
- * extension to both lookup remote databses and as the name used when opening
+ * extension to both lookup remote databases and as the name used when opening
* reading them.
*
* This is useful for file databases. Seems as files can increase the size of
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index da2ca24c..aa158999 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -817,7 +817,7 @@ cleanup:
}
/*
- * Use to sort payloads by max size in decending order (largest -> smallest)
+ * Use to sort payloads by max size in descending order (largest -> smallest)
*/
static int compare_dload_payload_sizes(const void *left_ptr, const void *right_ptr)
{
diff --git a/src/pacman/check.c b/src/pacman/check.c
index 6a39681c..01dfdb05 100644
--- a/src/pacman/check.c
+++ b/src/pacman/check.c
@@ -347,7 +347,7 @@ int check_pkg_full(alpm_pkg_t *pkg)
}
/* Do not append root directory as alpm_option_get_dbpath is already
- * an absoute path */
+ * an absolute path */
filepath_len = snprintf(filepath, PATH_MAX, "%slocal/%s-%s/%s",
alpm_option_get_dbpath(config->handle),
pkgname, alpm_pkg_get_version(pkg), dbfile);
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index 90d37b16..8f5fb6de 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -373,7 +373,7 @@ static int parsearg_op(int opt, int dryrun)
/** Helper functions for parsing command-line arguments.
* @param opt Keycode returned by getopt_long
- * @return 0 on success, 1 on unkown option, 2 on invalid argument
+ * @return 0 on success, 1 on unknown option, 2 on invalid argument
*/
static int parsearg_global(int opt)
{
diff --git a/src/pacman/po/POTFILES.in b/src/pacman/po/POTFILES.in
index a408d32b..0b96694a 100644
--- a/src/pacman/po/POTFILES.in
+++ b/src/pacman/po/POTFILES.in
@@ -20,7 +20,7 @@ src/pacman/upgrade.c
src/pacman/util.c
#src/pacman/util-common.c
-# utililty files
+# utility files
src/pacman/pacman-conf.c
src/util/testpkg.c
-src/util/vercmp.c \ No newline at end of file
+src/util/vercmp.c