From: Graham Percival Date: Fri, 6 Dec 2024 16:00:03 +0000 (-0800) Subject: Spelling fixes (#2412) X-Git-Tag: v3.8.0~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f745a848d7a81758cd9fcd49d7fd45caeebe1c3d;p=thirdparty%2Flibarchive.git Spelling fixes (#2412) --- diff --git a/libarchive/archive_read_disk_windows.c b/libarchive/archive_read_disk_windows.c index cb59b5160..ba7dbc6d0 100644 --- a/libarchive/archive_read_disk_windows.c +++ b/libarchive/archive_read_disk_windows.c @@ -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"\\??\\" /*- diff --git a/libarchive/archive_read_support_format_rar5.c b/libarchive/archive_read_support_format_rar5.c index b99105d0c..7e7fa6cf4 100644 --- a/libarchive/archive_read_support_format_rar5.c +++ b/libarchive/archive_read_support_format_rar5.c @@ -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 diff --git a/libarchive/archive_write.c b/libarchive/archive_write.c index 303c68688..a8e7b63b5 100644 --- a/libarchive/archive_write.c +++ b/libarchive/archive_write.c @@ -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) diff --git a/libarchive/archive_write_disk_windows.c b/libarchive/archive_write_disk_windows.c index 086f79693..3cdfaaec9 100644 --- a/libarchive/archive_write_disk_windows.c +++ b/libarchive/archive_write_disk_windows.c @@ -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 diff --git a/libarchive/archive_write_set_format_zip.c b/libarchive/archive_write_set_format_zip.c index 1d94a6c1e..28cfefaff 100644 --- a/libarchive/archive_write_set_format_zip.c +++ b/libarchive/archive_write_set_format_zip.c @@ -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 diff --git a/libarchive/test/test_read_format_rar_encryption.c b/libarchive/test/test_read_format_rar_encryption.c index a184b86b5..2355468be 100644 --- a/libarchive/test/test_read_format_rar_encryption.c +++ b/libarchive/test/test_read_format_rar_encryption.c @@ -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". *