aboutsummaryrefslogtreecommitdiff
path: root/src/xz
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/xz/args.c2
-rw-r--r--src/xz/coder.c4
-rw-r--r--src/xz/list.c4
-rw-r--r--src/xz/main.c2
-rw-r--r--src/xz/mytime.h2
-rw-r--r--src/xz/private.h2
-rw-r--r--src/xz/xz.12
7 files changed, 9 insertions, 9 deletions
diff --git a/src/xz/args.c b/src/xz/args.c
index 341f29e1..688d7c3a 100644
--- a/src/xz/args.c
+++ b/src/xz/args.c
@@ -88,7 +88,7 @@ parse_block_list(char *str)
// There is no string, that is, a comma follows
// another comma. Use the previous value.
//
- // NOTE: We checked earler that the first char
+ // NOTE: We checked earlier that the first char
// of the whole list cannot be a comma.
assert(i > 0);
opt_block_list[i] = opt_block_list[i - 1];
diff --git a/src/xz/coder.c b/src/xz/coder.c
index f36d1bf2..f5e8e847 100644
--- a/src/xz/coder.c
+++ b/src/xz/coder.c
@@ -635,7 +635,7 @@ coder_normal(file_pair *pair)
// only a single block is created.
uint64_t block_remaining = UINT64_MAX;
- // next_block_remining for when we are in single-threaded mode and
+ // next_block_remaining for when we are in single-threaded mode and
// the Block in --block-list is larger than the --block-size=SIZE.
uint64_t next_block_remaining = 0;
@@ -718,7 +718,7 @@ coder_normal(file_pair *pair)
|| action == LZMA_FULL_BARRIER)) {
if (action == LZMA_SYNC_FLUSH) {
// Flushing completed. Write the pending data
- // out immediatelly so that the reading side
+ // out immediately so that the reading side
// can decompress everything compressed so far.
if (io_write(pair, &out_buf, IO_BUFFER_SIZE
- strm.avail_out))
diff --git a/src/xz/list.c b/src/xz/list.c
index 7d7ad98f..7d2df876 100644
--- a/src/xz/list.c
+++ b/src/xz/list.c
@@ -58,7 +58,7 @@ typedef struct {
/// Strings ending in a colon. These are used for lines like
-/// " Foo: 123 MiB". These are groupped because translated strings
+/// " Foo: 123 MiB". These are grouped because translated strings
/// may have different maximum string length, and we want to pad all
/// strings so that the values are aligned nicely.
static const char *colon_strs[] = {
@@ -258,7 +258,7 @@ init_headings(void)
{
// Before going through the heading strings themselves, treat
// the Check heading specially: Look at the widths of the various
- // check names and increase the width of the Check column if neeeded.
+ // check names and increase the width of the Check column if needed.
// The width of the heading name "Check" will then be handled normally
// with other heading names in the second loop in this function.
for (unsigned i = 0; i < ARRAY_SIZE(check_names); ++i) {
diff --git a/src/xz/main.c b/src/xz/main.c
index af550c45..d74caf37 100644
--- a/src/xz/main.c
+++ b/src/xz/main.c
@@ -159,7 +159,7 @@ main(int argc, char **argv)
// Initialize handling of error/warning/other messages.
message_init();
- // Set hardware-dependent default values. These can be overriden
+ // Set hardware-dependent default values. These can be overridden
// on the command line, thus this must be done before args_parse().
hardware_init();
diff --git a/src/xz/mytime.h b/src/xz/mytime.h
index ea291eed..4505724c 100644
--- a/src/xz/mytime.h
+++ b/src/xz/mytime.h
@@ -43,5 +43,5 @@ extern void mytime_set_flush_time(void);
///
/// This returns -1 if no timed flushing is used.
///
-/// The return value is inteded for use with poll().
+/// The return value is intended for use with poll().
extern int mytime_get_flush_timeout(void);
diff --git a/src/xz/private.h b/src/xz/private.h
index e61563ac..d97c22cc 100644
--- a/src/xz/private.h
+++ b/src/xz/private.h
@@ -1,7 +1,7 @@
///////////////////////////////////////////////////////////////////////////////
//
/// \file private.h
-/// \brief Common includes, definions, and prototypes
+/// \brief Common includes, definitions, and prototypes
//
// Author: Lasse Collin
//
diff --git a/src/xz/xz.1 b/src/xz/xz.1
index 63087ca7..691bd2f8 100644
--- a/src/xz/xz.1
+++ b/src/xz/xz.1
@@ -1052,7 +1052,7 @@ if using more threads would exceed the memory usage limit.
Currently the only threading method is to split the input into
blocks and compress them independently from each other.
The default block size depends on the compression level and
-can be overriden with the
+can be overridden with the
.BI \-\-block\-size= size
option.
.IP ""