Fix typos discovered by codespell.

This commit is contained in:
Jia Tan 2024-02-16 22:53:46 +08:00
parent c64723bbb0
commit fb5f6aaf18
3 changed files with 4 additions and 4 deletions

View File

@ -45,7 +45,7 @@ Authors of XZ Utils
Third-party code whose authors aren't listed here: Third-party code whose authors aren't listed here:
- GNU getopt_long() in the 'lib' direcotry is included for - GNU getopt_long() in the 'lib' directory is included for
platforms that don't have a usable getopt_long(). platforms that don't have a usable getopt_long().
- The build system files from GNU Autoconf, GNU Automake, - The build system files from GNU Autoconf, GNU Automake,

2
NEWS
View File

@ -29,7 +29,7 @@ XZ Utils Release Notes
* x86-64 inline assembly. This works with GCC and Clang. * x86-64 inline assembly. This works with GCC and Clang.
The default choice can currently be overriden by setting The default choice can currently be overridden by setting
LZMA_RANGE_DECODER_CONFIG in CPPFLAGS: 0 means the basic LZMA_RANGE_DECODER_CONFIG in CPPFLAGS: 0 means the basic
version and 3 means that branchless C version. version and 3 means that branchless C version.

View File

@ -34,7 +34,7 @@
// 0x080 matched literal // 0x080 matched literal
// 0x100 direct bits // 0x100 direct bits
// //
// The default can be overriden at build time by defining // The default can be overridden at build time by defining
// LZMA_RANGE_DECODER_CONFIG to the desired mask. // LZMA_RANGE_DECODER_CONFIG to the desired mask.
#ifndef LZMA_RANGE_DECODER_CONFIG #ifndef LZMA_RANGE_DECODER_CONFIG
# if defined(__x86_64__) && (defined(__GNUC__) || defined(__clang__)) # if defined(__x86_64__) && (defined(__GNUC__) || defined(__clang__))
@ -184,7 +184,7 @@ do { \
/// Update the range decoder state and the used probability variable to /// Update the range decoder state and the used probability variable to
/// match a decoded bit of 0. /// match a decoded bit of 0.
/// ///
/// The x86-64 assemly uses the commented method but it seems that, /// The x86-64 assembly uses the commented method but it seems that,
/// at least on x86-64, the first version is slightly faster as C code. /// at least on x86-64, the first version is slightly faster as C code.
#define rc_update_0(prob) \ #define rc_update_0(prob) \
do { \ do { \