aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2020-03-23 18:07:50 +0200
committerLasse Collin <lasse.collin@tukaani.org>2020-03-23 18:08:31 +0200
commit968bbfea09447a4f52e856bb97301aca80e40dcb (patch)
treeaaf746d05c87ef452da3779100632b56154dc5fc /src
parentBump version and soname for 5.2.5. (diff)
downloadxz-968bbfea09447a4f52e856bb97301aca80e40dcb.tar.xz
Typo fixes from fossies.org.
https://fossies.org/linux/misc/xz-5.2.5.tar.xz/codespell.html
Diffstat (limited to 'src')
-rw-r--r--src/liblzma/api/lzma/base.h2
-rw-r--r--src/liblzma/check/crc32_x86.S2
-rw-r--r--src/liblzma/common/index.c2
-rw-r--r--src/xz/xz.14
4 files changed, 5 insertions, 5 deletions
diff --git a/src/liblzma/api/lzma/base.h b/src/liblzma/api/lzma/base.h
index a6005acc..7daeddbd 100644
--- a/src/liblzma/api/lzma/base.h
+++ b/src/liblzma/api/lzma/base.h
@@ -447,7 +447,7 @@ typedef struct lzma_internal_s lzma_internal;
*
* The lzma_stream structure is used for
* - passing pointers to input and output buffers to liblzma;
- * - defining custom memory hander functions; and
+ * - defining custom memory handler functions; and
* - holding a pointer to coder-specific internal data structures.
*
* Typical usage:
diff --git a/src/liblzma/check/crc32_x86.S b/src/liblzma/check/crc32_x86.S
index 67f68a41..632c7b37 100644
--- a/src/liblzma/check/crc32_x86.S
+++ b/src/liblzma/check/crc32_x86.S
@@ -195,7 +195,7 @@ LZMA_CRC32:
/*
* Read the next four bytes, for which the CRC is calculated
- * on the next interation of the loop.
+ * on the next iteration of the loop.
*/
movl 12(%esi), %ecx
diff --git a/src/liblzma/common/index.c b/src/liblzma/common/index.c
index a41e8f33..86c10544 100644
--- a/src/liblzma/common/index.c
+++ b/src/liblzma/common/index.c
@@ -1226,7 +1226,7 @@ lzma_index_iter_locate(lzma_index_iter *iter, lzma_vli target)
// Use binary search to locate the exact Record. It is the first
// Record whose uncompressed_sum is greater than target.
- // This is because we want the rightmost Record that fullfills the
+ // This is because we want the rightmost Record that fulfills the
// search criterion. It is possible that there are empty Blocks;
// we don't want to return them.
size_t left = 0;
diff --git a/src/xz/xz.1 b/src/xz/xz.1
index 540d1364..f81278f5 100644
--- a/src/xz/xz.1
+++ b/src/xz/xz.1
@@ -5,7 +5,7 @@
.\" This file has been put into the public domain.
.\" You can do whatever you want with this file.
.\"
-.TH XZ 1 "2020-02-01" "Tukaani" "XZ Utils"
+.TH XZ 1 "2020-03-23" "Tukaani" "XZ Utils"
.
.SH NAME
xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma files
@@ -1294,7 +1294,7 @@ The default means four-byte alignment
.RI (2^ pb =2^2=4),
which is often a good choice when there's no better guess.
.IP ""
-When the aligment is known, setting
+When the alignment is known, setting
.I pb
accordingly may reduce the file size a little.
E.g. with text files having one-byte