]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Spelling fixes (#2412)
authorGraham Percival <gperciva@tarsnap.com>
Fri, 6 Dec 2024 16:00:03 +0000 (08:00 -0800)
committerGitHub <noreply@github.com>
Fri, 6 Dec 2024 16:00:03 +0000 (08:00 -0800)
libarchive/archive_read_disk_windows.c
libarchive/archive_read_support_format_rar5.c
libarchive/archive_write.c
libarchive/archive_write_disk_windows.c
libarchive/archive_write_set_format_zip.c
libarchive/test/test_read_format_rar_encryption.c

index cb59b516069a6716aca92c5368b9c867e631842c..ba7dbc6d0f0155eff578d9e6150e10c7f9ebc224 100644 (file)
@@ -49,7 +49,7 @@
 /* Old SDKs do not provide IO_REPARSE_TAG_SYMLINK */
 #define        IO_REPARSE_TAG_SYMLINK 0xA000000CL
 #endif
-/* To deal with absolute symlink isuues */
+/* To deal with absolute symlink issues */
 #define START_ABSOLUTE_SYMLINK_REPARSE L"\\??\\"
 
 /*-
index b99105d0cd33456b346c0c07fa33ad042945ee75..7e7fa6cf407ce14e9a85e5ebf66afb122750d79c 100644 (file)
@@ -3093,7 +3093,7 @@ static int do_uncompress_block(struct archive_read* a, const uint8_t* p) {
                 *   can be stored in the output buffer directly.
                 *
                 * - Code 256 defines a new filter, which is later used to
-                *   ransform the data block accordingly to the filter type.
+                *   transform the data block accordingly to the filter type.
                 *   The data block needs to be fully uncompressed first.
                 *
                 * - Code bigger than 257 and smaller than 262 define
index 303c686881a9080969f96591714ef4e94406e2c7..a8e7b63b5bfed86b577c35d42199685056914602 100644 (file)
@@ -283,7 +283,7 @@ __archive_write_filters_open(struct archive_write *a)
 }
 
 /*
- * Close all filtes
+ * Close all filters
  */
 static int
 __archive_write_filters_close(struct archive_write *a)
index 086f796938c7d8c1620f7359bb34f09d5e8f8430..3cdfaaec92bc56d450096e3e74de8f3b13612a8b 100644 (file)
@@ -637,7 +637,7 @@ la_CreateHardLinkW(wchar_t *linkname, wchar_t *target)
 }
 
 /*
- * Create file or directory symolic link
+ * Create file or directory symbolic link
  *
  * If linktype is AE_SYMLINK_TYPE_UNDEFINED (or unknown), guess linktype from
  * the link target
index 1d94a6c1eed8131fb4e62b398f02eb794879c59d..28cfefaff2156ce668916de94d6a17f0eecff309 100644 (file)
@@ -739,7 +739,7 @@ archive_write_set_format_zip(struct archive *_a)
        /* "Unspecified" lets us choose the appropriate compression. */
        zip->requested_compression = COMPRESSION_UNSPECIFIED;
        /* Following the 7-zip write support's lead, setting the default
-        * compression level explicitely to 6 no matter what. */
+        * compression level explicitly to 6 no matter what. */
        zip->compression_level = 6;
        /* Following the xar write support's lead, the default number of
         * threads is 1 (i.e. the xz compression, the only one caring about
@@ -1372,7 +1372,7 @@ archive_write_zip_header(struct archive_write *a, struct archive_entry *entry)
                        return (ARCHIVE_FATAL);
                }
                /* Asking for the multi-threaded compressor is a no-op in zstd if
-                * it's not supported, so no need to explicitely check for it */
+                * it's not supported, so no need to explicitly check for it */
                ZSTD_CCtx_setParameter(zip->stream.zstd.context, ZSTD_c_nbWorkers, zip->threads);
                zip->stream.zstd.out.dst = zip->buf;
                zip->stream.zstd.out.size = zip->len_buf;
@@ -1709,7 +1709,7 @@ archive_write_zip_data(struct archive_write *a, const void *buff, size_t s)
                         * that ZIP's format is missing the uncompressed_size field.
                         *
                         * So we need to write a raw LZMA stream, set up for LZMA1
-                        * (i.e. the algoritm variant LZMA Alone uses), which was
+                        * (i.e. the algorithm variant LZMA Alone uses), which was
                         * done above in the initialisation but first we need to
                         * write ZIP's LZMA header, as if it were Stored data. Then
                         * we can use the raw stream as if it were any other. magic1
index a184b86b5ffee72d576ffc72d60925e2e2a8be1f..2355468be8096148c42c188810e7ff91683f4878 100644 (file)
@@ -26,8 +26,8 @@
 #include "test.h"
 
 /*
- * All of the archives for this teset contain four files: a.txt, b.txt, c.txt, and d.txt
- * For solid archives or archvies or archives where filenames are encrypted, all four files are encrypted with the
+ * All of the archives for this test contain four files: a.txt, b.txt, c.txt, and d.txt
+ * For solid archives or archives or archives where filenames are encrypted, all four files are encrypted with the
  * password "password". For non-solid archives without filename encryption, a.txt and c.txt are not encrypted, b.txt is
  * encrypted with the password "password", and d.txt is encrypted with the password "password2".
  *