1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

Typo fixes from fossies.org.

https://fossies.org/linux/misc/xz-5.2.5.tar.xz/codespell.html
This commit is contained in:
Lasse Collin 2020-03-23 18:07:50 +02:00
parent 2327a461e1
commit 968bbfea09
6 changed files with 7 additions and 7 deletions

View file

@ -64,7 +64,7 @@ EXTRA_DIST = \
ACLOCAL_AMFLAGS = -I m4 ACLOCAL_AMFLAGS = -I m4
# List of man pages to conver to PDF and plain text in the dist-hook target. # List of man pages to convert to PDF and plain text in the dist-hook target.
manfiles = \ manfiles = \
src/xz/xz.1 \ src/xz/xz.1 \
src/xzdec/xzdec.1 \ src/xzdec/xzdec.1 \

View file

@ -173,7 +173,7 @@ compress(lzma_stream *strm, FILE *infile, FILE *outfile)
lzma_ret ret = lzma_code(strm, action); lzma_ret ret = lzma_code(strm, action);
// If the output buffer is full or if the compression finished // If the output buffer is full or if the compression finished
// successfully, write the data from the output bufffer to // successfully, write the data from the output buffer to
// the output file. // the output file.
if (strm->avail_out == 0 || ret == LZMA_STREAM_END) { if (strm->avail_out == 0 || ret == LZMA_STREAM_END) {
// When lzma_code() has returned LZMA_STREAM_END, // When lzma_code() has returned LZMA_STREAM_END,

View file

@ -447,7 +447,7 @@ typedef struct lzma_internal_s lzma_internal;
* *
* The lzma_stream structure is used for * The lzma_stream structure is used for
* - passing pointers to input and output buffers to liblzma; * - 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. * - holding a pointer to coder-specific internal data structures.
* *
* Typical usage: * Typical usage:

View file

@ -195,7 +195,7 @@ LZMA_CRC32:
/* /*
* Read the next four bytes, for which the CRC is calculated * 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 movl 12(%esi), %ecx

View file

@ -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 // Use binary search to locate the exact Record. It is the first
// Record whose uncompressed_sum is greater than target. // 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; // search criterion. It is possible that there are empty Blocks;
// we don't want to return them. // we don't want to return them.
size_t left = 0; size_t left = 0;

View file

@ -5,7 +5,7 @@
.\" This file has been put into the public domain. .\" This file has been put into the public domain.
.\" You can do whatever you want with this file. .\" 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 .SH NAME
xz, unxz, xzcat, lzma, unlzma, lzcat \- Compress or decompress .xz and .lzma files 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), .RI (2^ pb =2^2=4),
which is often a good choice when there's no better guess. which is often a good choice when there's no better guess.
.IP "" .IP ""
When the aligment is known, setting When the alignment is known, setting
.I pb .I pb
accordingly may reduce the file size a little. accordingly may reduce the file size a little.
E.g. with text files having one-byte E.g. with text files having one-byte