]> git.ipfire.org Git - thirdparty/xz.git/commitdiff
Fix typos
authorRainRat <rainrat78@yahoo.ca>
Wed, 5 Jun 2024 22:21:49 +0000 (15:21 -0700)
committerLasse Collin <lasse.collin@tukaani.org>
Fri, 6 Sep 2024 15:51:59 +0000 (18:51 +0300)
Closes: https://github.com/tukaani-project/xz/pull/124
(cherry picked from commit 9e73918a4f14be754a23f74dda45ca431939a4a0)

INSTALL
doc/examples/03_compress_custom.c
src/common/tuklib_integer.h
src/liblzma/api/lzma/container.h
src/xz/mytime.c
tests/test_filter_str.c

diff --git a/INSTALL b/INSTALL
index ba187bbbb5272e041d8ed7397a63187a594cde26..f74228177166fd3fb1ac133f2371e43a91047eb8 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -789,7 +789,7 @@ XZ Utils Installation
 
     The configure script determines if assembler code can be used by
     looking at the configure triplet; there is currently no check if
-    the assembler code can actually actually be built. The x86 assembler
+    the assembler code can actually be built. The x86 assembler
     code should work on x86 GNU/Linux, *BSDs, Solaris, Darwin, MinGW,
     Cygwin, and DJGPP. On other x86 systems, there may be problems and
     the assembler code may need to be disabled with the configure option.
index 57797b876728bf4c544183a72360c345ad935c37..80ad189a5e3eab826eb17b4e97ba11b1035bbb53 100644 (file)
@@ -45,7 +45,7 @@ init_encoder(lzma_stream *strm)
        }
 
        // Now we could customize the LZMA2 options if we wanted. For example,
-       // we could set the the dictionary size (opt_lzma2.dict_size) to
+       // we could set the dictionary size (opt_lzma2.dict_size) to
        // something else than the default (8 MiB) of the default preset.
        // See lzma/lzma12.h for details of all LZMA2 options.
        //
index dab71ba8c1f1f219a399d12e586474478a2c1880..4026249e5468b1b9e5cb117338dfe0986c3d3a8e 100644 (file)
 // from the memcpy() method than from simple byte-by-byte shift-or code
 // when reading a 32-bit integer:
 //
-//     (1) It may be constructed on stack using using four 8-bit loads,
+//     (1) It may be constructed on stack using four 8-bit loads,
 //         four 8-bit stores to stack, and finally one 32-bit load from stack.
 //
 //     (2) Especially with -Os, an actual memcpy() call may be emitted.
index 8e4af420389bb175bfed0b66409cd1730f9a8a2f..ee5d77e4f1afd80b9aede0ea3e2a68e0190f96d7 100644 (file)
@@ -306,7 +306,7 @@ extern LZMA_API(uint64_t) lzma_easy_decoder_memusage(uint32_t preset)
  *                      number and zero or more flags. Usually flags aren't
  *                      used, so preset is simply a number [0, 9] which match
  *                      the options -0 ... -9 of the xz command line tool.
- *                      Additional flags can be be set using bitwise-or with
+ *                      Additional flags can be set using bitwise-or with
  *                      the preset level number, e.g. 6 | LZMA_PRESET_EXTREME.
  * \param       check   Integrity check type to use. See check.h for available
  *                      checks. The xz command line tool defaults to
index 7d9a27d58b566fd1bfbe5dde8e4690d393d69886..c603051dcdaed3f7fccb1e4deb47e772d6ad574b 100644 (file)
@@ -95,7 +95,7 @@ extern void
 mytime_sigtstp_handler(int sig lzma_attribute((__unused__)))
 {
        // Measure how long the process stays in the stopped state and add
-       // that amount to start_time. This way the the progress indicator
+       // that amount to start_time. This way the progress indicator
        // won't count the stopped time as elapsed time and the estimated
        // remaining time won't be confused by the time spent in the
        // stopped state.
index 42d9a22cd1c30811875d2476ec82ce5773a70477..0deb589991646040ef32587fd8668ed67b2c2c77 100644 (file)
@@ -402,7 +402,7 @@ test_lzma_str_from_filters(void)
        free(output_str);
 
        // Test LZMA_STR_ENCODER flag.
-       // Only the the return value is checked since the actual string
+       // Only the return value is checked since the actual string
        // may change in the future (even though it is unlikely).
        // The order of options or the inclusion of new options could
        // cause a change in output, so we will avoid hardcoding an