]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Spelling fixes
authorGraham Percival <gperciva@tarsnap.com>
Fri, 30 Dec 2016 23:21:09 +0000 (15:21 -0800)
committerGraham Percival <gperciva@tarsnap.com>
Sat, 31 Dec 2016 00:35:47 +0000 (16:35 -0800)
Sponsored by: Tarsnap Backup Inc.

23 files changed:
libarchive/archive_read_disk_posix.c
libarchive/archive_read_disk_windows.c
libarchive/archive_read_support_filter_lz4.c
libarchive/archive_read_support_filter_lzop.c
libarchive/archive_read_support_format_7zip.c
libarchive/archive_read_support_format_iso9660.c
libarchive/archive_read_support_format_lha.c
libarchive/archive_read_support_format_rar.c
libarchive/archive_read_support_format_warc.c
libarchive/archive_read_support_format_zip.c
libarchive/archive_string.c
libarchive/archive_string_composition.h
libarchive/archive_write.c
libarchive/archive_write_set_format_7zip.c
libarchive/archive_write_set_format_zip.c
libarchive/test/test_archive_read_add_passphrase.c
libarchive/test/test_compat_uudecode.c
libarchive/test/test_read_format_cpio_afio.c
libarchive/test/test_read_format_zip_traditional_encryption_data.c
libarchive/test/test_read_format_zip_winzip_aes.c
libarchive/test/test_read_format_zip_winzip_aes_large.c
libarchive/test/test_sparse_basic.c
libarchive/xxhash.c

index bc7fad1d9d2e1caca0817c153a7e14fd8bb5a40e..b89370421c07bc403754c682df4b4296fc9693b7 100644 (file)
@@ -675,7 +675,7 @@ setup_suitable_read_buffer(struct archive_read_disk *a)
                                asize = cf->min_xfer_size;
 
                        /* Increase a buffer size up to 64K bytes in
-                        * a proper incremant size. */
+                        * a proper increment size. */
                        while (asize < 1024*64)
                                asize += incr;
                        /* Take a margin to adjust to the filesystem
@@ -1656,7 +1656,7 @@ setup_current_filesystem(struct archive_read_disk *a)
                archive_set_error(&a->archive, errno, "statvfs failed");
                return (ARCHIVE_FAILED);
        } else if (xr == 1) {
-               /* Usuall come here unless NetBSD supports _PC_REC_XFER_ALIGN
+               /* Usually come here unless NetBSD supports _PC_REC_XFER_ALIGN
                 * for pathconf() function. */
                t->current_filesystem->xfer_align = sfs.f_frsize;
                t->current_filesystem->max_xfer_size = -1;
@@ -1944,7 +1944,7 @@ setup_current_filesystem(struct archive_read_disk *a)
        if (nm == -1)
 #  endif /* _PC_NAME_MAX */
                /*
-                * Some sysmtes (HP-UX or others?) incorrectly defined
+                * Some systems (HP-UX or others?) incorrectly defined
                 * NAME_MAX macro to be a smaller value.
                 */
 #  if defined(NAME_MAX) && NAME_MAX >= 255
index 6791b2c136200ca2e4cc48039af002bcd5ff6a02..27b75e3b10cecc85ebffe2239ead603fc76e4e6c 100644 (file)
@@ -1401,7 +1401,7 @@ close_and_restore_time(HANDLE h, struct tree *t, struct restore_time *rt)
        if (h == INVALID_HANDLE_VALUE && AE_IFLNK == rt->filetype)
                return (0);
 
-       /* Close a file descritor.
+       /* Close a file descriptor.
         * It will not be used for SetFileTime() because it has been opened
         * by a read only mode.
         */
index 37b2f59004b1bd23bd684b29faa61f820f83469e..4c66ed04dc95f0956ec5dcd442a11f7550328262 100644 (file)
@@ -180,7 +180,7 @@ lz4_reader_bid(struct archive_read_filter_bidder *self,
                        return (0);
                bits_checked += 8;
                BD = buffer[5];
-               /* A block maximum size shuld be more than 3. */
+               /* A block maximum size should be more than 3. */
                if (((BD & 0x70) >> 4) < 4)
                        return (0);
                /* Reserved bits must be "0". */
@@ -417,7 +417,7 @@ lz4_filter_read_descriptor(struct archive_read_filter *self)
        /* Reserved bits must be zero. */
        if (bd & 0x8f)
                goto malformed_error;
-       /* Get a maxinum block size. */
+       /* Get a maximum block size. */
        switch (read_buf[1] >> 4) {
        case 4: /* 64 KB */
                state->flags.block_maximum_size = 64 * 1024;
@@ -627,7 +627,7 @@ lz4_filter_read_default_stream(struct archive_read_filter *self, const void **p)
 
        if (state->stage == SELECT_STREAM) {
                state->stage = READ_DEFAULT_STREAM;
-               /* First, read a desciprtor. */
+               /* First, read a descriptor. */
                if((ret = lz4_filter_read_descriptor(self)) != ARCHIVE_OK)
                        return (ret);
                state->stage = READ_DEFAULT_BLOCK;
index 44ac9964ae1140ce05e938dacb7c2992880abf97..a1c392f4f3643ebf8147f61f54d65c1579d72e68 100644 (file)
@@ -436,7 +436,7 @@ lzop_filter_read(struct archive_read_filter *self, const void **p)
        }
 
        /*
-        * Drive lzo uncompresison.
+        * Drive lzo uncompression.
         */
        out_size = (lzo_uint)state->uncompressed_size;
        r = lzo1x_decompress_safe(b, (lzo_uint)state->compressed_size,
index f8d52fb71797816eb6b09412540ecd2c3c7ed44c..3387eaf7e7f5c61ebc387553815137b41b121701 100644 (file)
@@ -552,7 +552,7 @@ skip_sfx(struct archive_read *a, ssize_t bytes_avail)
        /*
         * If bytes_avail > SFX_MIN_ADDR we do not have to call
         * __archive_read_seek() at this time since we have
-        * alredy had enough data.
+        * already had enough data.
         */
        if (bytes_avail > SFX_MIN_ADDR)
                __archive_read_consume(a, SFX_MIN_ADDR);
@@ -760,7 +760,7 @@ archive_read_format_7zip_read_header(struct archive_read *a,
                        symsize += size;
                }
                if (symsize == 0) {
-                       /* If there is no synname, handle it as a regular
+                       /* If there is no symname, handle it as a regular
                         * file. */
                        zip_entry->mode &= ~AE_IFMT;
                        zip_entry->mode |= AE_IFREG;
@@ -3288,7 +3288,7 @@ read_stream(struct archive_read *a, const void **buff, size_t size,
                return (r);
 
        /*
-        * Skip the bytes we alrady has skipped in skip_stream().
+        * Skip the bytes we already has skipped in skip_stream().
         */
        while (skip_bytes) {
                ssize_t skipped;
@@ -3506,7 +3506,7 @@ setup_decode_folder(struct archive_read *a, struct _7z_folder *folder,
                                return (ARCHIVE_FATAL);
                        }
 
-                       /* Allocate memory for the decorded data of a sub
+                       /* Allocate memory for the decoded data of a sub
                         * stream. */
                        b[i] = malloc((size_t)zip->folder_outbytes_remaining);
                        if (b[i] == NULL) {
@@ -3591,7 +3591,7 @@ skip_stream(struct archive_read *a, size_t skip_bytes)
        if (zip->folder_index == 0) {
                /*
                 * Optimization for a list mode.
-                * Avoid unncecessary decoding operations.
+                * Avoid unnecessary decoding operations.
                 */
                zip->si.ci.folders[zip->entry->folderIndex].skipped_bytes
                    += skip_bytes;
index 476490dc00c9b2c1e6db7beb5f05d14f0efeac6d..549aa835bc00151bc368286cc39c1f88b83a1862 100644 (file)
@@ -322,7 +322,7 @@ struct iso9660 {
 
        struct archive_string pathname;
        char    seenRockridge;  /* Set true if RR extensions are used. */
-       char    seenSUSP;       /* Set true if SUSP is beging used. */
+       char    seenSUSP;       /* Set true if SUSP is being used. */
        char    seenJoliet;
 
        unsigned char   suspOffset;
index a7f1d8d949f5723d47cc6cc604c88558691ff9f9..52a5531b0ff94023de8a50136449818056ad7578 100644 (file)
@@ -1711,7 +1711,7 @@ lha_crc16(uint16_t crc, const void *pp, size_t len)
         */
        for (;len >= 8; len -= 8) {
                /* This if statement expects compiler optimization will
-                * remove the stament which will not be executed. */
+                * remove the statement which will not be executed. */
 #undef bswap16
 #if defined(_MSC_VER) && _MSC_VER >= 1400  /* Visual Studio */
 #  define bswap16(x) _byteswap_ushort(x)
index 9c9f6f12ec01d5b907d4398d68c58783aeeab428..1e9849fdd629846e4cfd2027096800b69cedc85f 100644 (file)
@@ -906,7 +906,7 @@ archive_read_format_rar_read_header(struct archive_read *a,
                             sizeof(rar->reserved2));
       }
 
-      /* Main header is password encrytped, so we cannot read any
+      /* Main header is password encrypted, so we cannot read any
          file names or any other info about files from the header. */
       if (rar->main_flags & MHD_PASSWORD)
       {
index a287fc2a06b5910fea05b384bac2b5856f54b25c..8eda519eb1499b0ab40afc5fc0205102075446bf 100644 (file)
@@ -88,7 +88,7 @@ typedef enum {
        WT_RVIS,
        /* conversion, unsupported */
        WT_CONV,
-       /* continutation, unsupported at the moment */
+       /* continuation, unsupported at the moment */
        WT_CONT,
        /* invalid type */
        LAST_WT
@@ -562,7 +562,7 @@ xstrpisotime(const char *s, char **endptr)
                goto out;
        }
 
-       /* massage TM to fulfill some of POSIX' contraints */
+       /* massage TM to fulfill some of POSIX' constraints */
        tm.tm_year -= 1900;
        tm.tm_mon--;
 
index d19e7914e11c4c4e8714b54ccf8221e989ddb5d6..a80378d9d7b3783f430f2df5c85d3b59442d35cc 100644 (file)
@@ -199,7 +199,7 @@ struct zip {
        struct trad_enc_ctx     tctx;
        char                    tctx_valid;
 
-       /* WinZip AES decyption. */
+       /* WinZip AES decryption. */
        /* Contexts used for AES decryption. */
        archive_crypto_ctx      cctx;
        char                    cctx_valid;
@@ -710,7 +710,7 @@ process_extra(struct archive_read *a, const char *p, size_t extra_length, struct
                        break;
                }
                case 0x9901:
-                       /* WinZIp AES extra data field. */
+                       /* WinZip AES extra data field. */
                        if (p[offset + 2] == 'A' && p[offset + 3] == 'E') {
                                /* Vendor version. */
                                zip_entry->aes_extra.vendor =
@@ -1518,7 +1518,7 @@ read_decryption_header(struct archive_read *a)
        case 0x6720:/* Blowfish */
        case 0x6721:/* Twofish */
        case 0x6801:/* RC4 */
-               /* Suuported encryption algorithm. */
+               /* Supported encryption algorithm. */
                break;
        default:
                archive_set_error(&a->archive,
@@ -1627,7 +1627,7 @@ read_decryption_header(struct archive_read *a)
        __archive_read_consume(a, 4);
 
        /*return (ARCHIVE_OK);
-        * This is not fully implemnted yet.*/
+        * This is not fully implemented yet.*/
        archive_set_error(&a->archive, ARCHIVE_ERRNO_FILE_FORMAT,
            "Encrypted file is unsupported");
        return (ARCHIVE_FAILED);
@@ -1709,7 +1709,7 @@ init_traditional_PKWARE_decryption(struct archive_read *a)
                }
 
                /*
-                * Initialize ctx for Traditional PKWARE Decyption.
+                * Initialize ctx for Traditional PKWARE Decryption.
                 */
                r = trad_enc_init(&zip->tctx, passphrase, strlen(passphrase),
                        p, ENC_HEADER_SIZE, &crcchk);
index bbb1e4585180da911b6e3e2fa3c8ca4086f5c65d..92fb7ea6d9e12ca400d804de4b78173ade9e7165 100644 (file)
@@ -597,7 +597,7 @@ archive_wstring_append_from_mbs(struct archive_wstring *dest,
        wcs = dest->s + dest->length;
        /*
         * We cannot use mbsrtowcs/mbstowcs here because those may convert
-        * extra MBS when strlen(p) > len and one wide character consis of
+        * extra MBS when strlen(p) > len and one wide character consists of
         * multi bytes.
         */
        while (*mbs && mbs_length > 0) {
@@ -1248,7 +1248,7 @@ create_sconv_object(const char *fc, const char *tc,
                sc->cd = iconv_open(tc, fc);
                if (sc->cd == (iconv_t)-1 && (sc->flag & SCONV_BEST_EFFORT)) {
                        /*
-                        * Unfortunaly, all of iconv implements do support 
+                        * Unfortunately, all of iconv implements do support
                         * "CP932" character-set, so we should use "SJIS"
                         * instead if iconv_open failed.
                         */
@@ -1261,7 +1261,7 @@ create_sconv_object(const char *fc, const char *tc,
                /*
                 * archive_mstring on Windows directly convert multi-bytes
                 * into archive_wstring in order not to depend on locale
-                * so that you can do a I18N programing. This will be
+                * so that you can do a I18N programming. This will be
                 * used only in archive_mstring_copy_mbs_len_l so far.
                 */
                if (flag & SCONV_FROM_CHARSET) {
@@ -1726,7 +1726,7 @@ archive_string_conversion_from_charset(struct archive *a, const char *charset,
  * in tar or zip files. But mbstowcs/wcstombs(CRT) usually use CP_ACP
  * unless you use setlocale(LC_ALL, ".OCP")(specify CP_OEMCP).
  * So we should make a string conversion between CP_ACP and CP_OEMCP
- * for compatibillty.
+ * for compatibility.
  */
 #if defined(_WIN32) && !defined(__CYGWIN__)
 struct archive_string_conv *
@@ -2220,7 +2220,7 @@ best_effort_strncat_in_locale(struct archive_string *as, const void *_p,
 
        /*
         * If a character is ASCII, this just copies it. If not, this
-        * assigns '?' charater instead but in UTF-8 locale this assigns
+        * assigns '?' character instead but in UTF-8 locale this assigns
         * byte sequence 0xEF 0xBD 0xBD, which are code point U+FFFD,
         * a Replacement Character in Unicode.
         */
@@ -2554,7 +2554,7 @@ utf16_to_unicode(uint32_t *pwc, const char *s, size_t n, int be)
 
        /*
         * Surrogate pair values(0xd800 through 0xdfff) are only
-        * used by UTF-16, so, after above culculation, the code
+        * used by UTF-16, so, after above calculation, the code
         * must not be surrogate values, and Unicode has no codes
         * larger than 0x10ffff. Thus, those are not legal Unicode
         * values.
@@ -2903,7 +2903,7 @@ get_nfc(uint32_t uc, uint32_t uc2)
 /*
  * Normalize UTF-8/UTF-16BE characters to Form C and copy the result.
  *
- * TODO: Convert composition exclusions,which are never converted
+ * TODO: Convert composition exclusions, which are never converted
  * from NFC,NFD,NFKC and NFKD, to Form C.
  */
 static int
@@ -3437,7 +3437,7 @@ strncat_from_utf8_libarchive2(struct archive_string *as,
                }
 
                /*
-                * As libarchie 2.x, translates the UTF-8 characters into
+                * As libarchive 2.x, translates the UTF-8 characters into
                 * wide-characters in the assumption that WCS is Unicode.
                 */
                if (n < 0) {
@@ -3947,7 +3947,7 @@ archive_mstring_get_mbs_l(struct archive_mstring *aes,
 
 #if defined(_WIN32) && !defined(__CYGWIN__)
        /*
-        * Internationalization programing on Windows must use Wide
+        * Internationalization programming on Windows must use Wide
         * characters because Windows platform cannot make locale UTF-8.
         */
        if (sc != NULL && (aes->aes_set & AES_SET_WCS) != 0) {
@@ -4079,7 +4079,7 @@ archive_mstring_copy_mbs_len_l(struct archive_mstring *aes,
        archive_string_empty(&(aes->aes_utf8));
 #if defined(_WIN32) && !defined(__CYGWIN__)
        /*
-        * Internationalization programing on Windows must use Wide
+        * Internationalization programming on Windows must use Wide
         * characters because Windows platform cannot make locale UTF-8.
         */
        if (sc == NULL) {
index be41e3365124f630e361bd29726d1df26688e64f..8902ac1f7f30f015cecd1f26663f75ee85e688e4 100644 (file)
@@ -1009,7 +1009,7 @@ static const char u_decomposable_blocks[0x1D2+1] = {
        (((uc) > 0x1D244)?0:\
        ccc_val[ccc_val_index[ccc_index[(uc)>>8]][((uc)>>4)&0x0F]][(uc)&0x0F])
 
-/* The table of the value of Canonical Cimbining Class */
+/* The table of the value of Canonical Combining Class */
 static const unsigned char ccc_val[][16] = {
  /* idx=0: XXXX0 - XXXXF */
  { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 },
index 0697db1dd9190bff373e9c73416f6dd5cfc9f25f..0634a22967f8c7b65f5fc7f6a796e8e3ba06cf0e 100644 (file)
@@ -231,7 +231,7 @@ __archive_write_filter(struct archive_write_filter *f,
        if (length == 0)
                return(ARCHIVE_OK);
        if (f->write == NULL)
-               /* If unset, a fatal error has already ocuured, so this filter
+               /* If unset, a fatal error has already occurred, so this filter
                 * didn't open. We cannot write anything. */
                return(ARCHIVE_FATAL);
        r = (f->write)(f, buff, length);
index abd521a4641c0b89edfaf86f7c8843dfd626f8f8..41ed74daf1b9b6b10da6445b554cc4fd492b139a 100644 (file)
@@ -1358,7 +1358,7 @@ make_header(struct archive_write *a, uint64_t offset, uint64_t pack_size,
        if (r < 0)
                return (r);
 
-       /* Write Nume size. */
+       /* Write Name size. */
        r = enc_uint64(a, zip->total_bytes_entry_name+1);
        if (r < 0)
                return (r);
index 810b8d7ffd70f18f27e4e177cb27cec3faddccf7..5213db5b018a670d1c3194922b8bdc506d2c93cd 100644 (file)
@@ -878,7 +878,7 @@ archive_write_zip_header(struct archive_write *a, struct archive_entry *entry)
                || zip->entry_encryption == ENCRYPTION_WINZIP_AES256)) {
 
                memcpy(e, "\001\231\007\000\001\000AE", 8);
-               /* AES vendoer version AE-2 does not store a CRC.
+               /* AES vendor version AE-2 does not store a CRC.
                 * WinZip 11 uses AE-1, which does store the CRC,
                 * but it does not store the CRC when the file size
                 * is less than 20 bytes. So we simulate what
@@ -1013,7 +1013,7 @@ archive_write_zip_data(struct archive_write *a, const void *buff, size_t s)
        if (zip->entry_flags & ZIP_ENTRY_FLAG_ENCRYPTED) {
                switch (zip->entry_encryption) {
                case ENCRYPTION_TRADITIONAL:
-                       /* Initialize traditoinal PKWARE encryption context. */
+                       /* Initialize traditional PKWARE encryption context. */
                        if (!zip->tctx_valid) {
                                ret = init_traditional_pkware_encryption(a);
                                if (ret != ARCHIVE_OK)
@@ -1626,7 +1626,7 @@ init_winzip_aes_encryption(struct archive_write *a)
                return (ARCHIVE_FAILED);
         }
 
-       /* Set a passowrd verification value after the 'salt'. */
+       /* Set a password verification value after the 'salt'. */
        salt[salt_len] = derived_key[key_len * 2];
        salt[salt_len + 1] = derived_key[key_len * 2 + 1];
 
index 68dec10d9a12db94fa85619279b0df5d434f7356..0ce5a76aedbcd145292f28c6e04c0931ffbea9c2 100644 (file)
@@ -191,7 +191,7 @@ DEFINE_TEST(test_archive_read_add_passphrase_set_callback3)
        /* Fist call, we should get "passCallBack" as a passphrase. */
        assertEqualString("passCallBack", __archive_read_next_passphrase(ar));
        __archive_read_reset_passphrase(ar);
-       /* After reset passphrase, we should get "passCallBack"passphrase. */
+       /* After reset passphrase, we should get "passCallBack" passphrase. */
        assertEqualString("passCallBack", __archive_read_next_passphrase(ar));
        /* Second call, we should get NULL which means all the passphrases
         * are passed already. */
index 95b1c9a8b8366b1a5fca3136e8d5cf6c765ddc23..cfb17c85788d87ce46c9fdac8d878159c68561d6 100644 (file)
@@ -40,7 +40,7 @@ static char archive_data[] = {
 };
 
 /*
- * Compatibility: uudecode command ignores junk data placed ater the "end"
+ * Compatibility: uudecode command ignores junk data placed after the "end"
  * marker.
  */
 DEFINE_TEST(test_compat_uudecode)
index 16065eb0a5125354429a651dd3cf6c9c355a853b..95d3171e72cc99f7a4fdf1d3e4b2449ca884f1df 100644 (file)
@@ -27,7 +27,7 @@
 __FBSDID("$FreeBSD$");
 
 /*
-ecute the following to rebuild the data for this program:
+execute the following to rebuild the data for this program:
    tail -n +33 test_read_format_cpio_afio.c | /bin/sh
 
 # How to make a sample data.
index 2700be15ac7cfd4048bfa5ac4b65e146d6d210c4..305261567ec8518a073e82af68f811ddf9480f58 100644 (file)
@@ -28,7 +28,7 @@ __FBSDID("$FreeBSD$");
 
 DEFINE_TEST(test_read_format_zip_traditional_encryption_data)
 {
-       /* This file is password protected (Traditional PKWARE Enctypted).
+       /* This file is password protected (Traditional PKWARE Encrypted).
           The headers are NOT encrypted. Password is "12345678". */
        const char *refname =
                "test_read_format_zip_traditional_encryption_data.zip";
@@ -36,7 +36,7 @@ DEFINE_TEST(test_read_format_zip_traditional_encryption_data)
        struct archive *a;
        char buff[512];
 
-       /* Check if running system has cryptographic functionarity. */
+       /* Check if running system has cryptographic functionality. */
        assert((a = archive_write_new()) != NULL);
        assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_zip(a));
        assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
index 082337d7eabffaa2bbfe617bbdaebb6267bede41..cc1e3110d65b1f281d5c948485299c15c8e28594 100644 (file)
@@ -33,7 +33,7 @@ test_winzip_aes(const char *refname, int need_libz)
        struct archive *a;
        char buff[512];
 
-       /* Check if running system has cryptographic functionarity. */
+       /* Check if running system has cryptographic functionality. */
        assert((a = archive_write_new()) != NULL);
        assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_zip(a));
        assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
index a40d5cf1329a86dbce47ab218b1f6bfa6afaccd1..6c40ae76695ab03519ca5e124cbaac6ebf91c8bb 100644 (file)
@@ -34,7 +34,7 @@ DEFINE_TEST(test_read_format_zip_winzip_aes256_large)
        char buff[512];
 
 
-       /* Check if running system has cryptographic functionarity. */
+       /* Check if running system has cryptographic functionality. */
        assert((a = archive_write_new()) != NULL);
        assertEqualIntA(a, ARCHIVE_OK, archive_write_set_format_zip(a));
        assertEqualIntA(a, ARCHIVE_OK, archive_write_add_filter_none(a));
index 06f2c9d54686734edbcd8590aa82d8caa97f41f9..9d45f0fedc1c16425811a8296dbeb19f23690e3e 100644 (file)
@@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$");
 
 /*
  * NOTE: On FreeBSD and Solaris, this test needs ZFS.
- * You may should perfom this test as
+ * You may perform this test as
  * 'TMPDIR=<a directory on the ZFS> libarchive_test'.
  */
 
index d7f8e96de6fb2a3c065eac639913286592fed2c8..b6d0080e09e12a49eacc2c128e10fa16e4a6748a 100644 (file)
@@ -60,7 +60,7 @@ You can contact the author at :
 ** By default, xxHash library provides endian-independent Hash values, based on little-endian convention.
 ** Results are therefore identical for little-endian and big-endian CPU.
 ** This comes at a performance cost for big-endian CPU, since some swapping is required to emulate little-endian format.
-** Should endian-independance be of no importance for your application, you may set the #define below to 1.
+** Should endian-independence be of no importance for your application, you may set the #define below to 1.
 ** It will improve speed for Big-endian CPU.
 ** This option has no impact on Little_Endian CPU.
 */